Package system.web.routing
Class Route
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.routing.RouteBase
-
- system.web.routing.Route
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
ServiceRoute
public class Route extends RouteBase
The base .NET class managing System.Web.Routing.Route, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.Routing.Route
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Webstatic java.lang.StringclassNameQualified class name: System.Web.Routing.Routestatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description Route()Route(java.lang.Object instance)Internal constructor.Route(java.lang.String url, IRouteHandler routeHandler)Route(java.lang.String url, RouteValueDictionary defaults, IRouteHandler routeHandler)Route(java.lang.String url, RouteValueDictionary defaults, RouteValueDictionary constraints, IRouteHandler routeHandler)Route(java.lang.String url, RouteValueDictionary defaults, RouteValueDictionary constraints, RouteValueDictionary dataTokens, IRouteHandler routeHandler)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Routecast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoRoute, a cast assert is made to check if types are compatible.RouteValueDictionarygetConstraints()RouteValueDictionarygetDataTokens()RouteValueDictionarygetDefaults()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeRouteDataGetRouteData(HttpContextBase httpContext)IRouteHandlergetRouteHandler()java.lang.StringgetUrl()VirtualPathDataGetVirtualPath(RequestContext requestContext, RouteValueDictionary values)voidsetConstraints(RouteValueDictionary Constraints)voidsetDataTokens(RouteValueDictionary DataTokens)voidsetDefaults(RouteValueDictionary Defaults)voidsetJCOInstance(JCObject instance)voidsetRouteHandler(IRouteHandler RouteHandler)voidsetUrl(java.lang.String Url)-
Methods inherited from class system.web.routing.RouteBase
getRouteExistingFiles, setRouteExistingFiles
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.Routing.Route- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Route
public Route(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
Route
public Route() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Route
public Route(java.lang.String url, IRouteHandler routeHandler) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException
-
Route
public Route(java.lang.String url, RouteValueDictionary defaults, IRouteHandler routeHandler) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException
-
Route
public Route(java.lang.String url, RouteValueDictionary defaults, RouteValueDictionary constraints, IRouteHandler routeHandler) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException
-
Route
public Route(java.lang.String url, RouteValueDictionary defaults, RouteValueDictionary constraints, RouteValueDictionary dataTokens, IRouteHandler routeHandler) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, NotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classRouteBase- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classRouteBase- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classRouteBase- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classRouteBase- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classRouteBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classRouteBase- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Route cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoRoute, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Routeinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
GetRouteData
public RouteData GetRouteData(HttpContextBase httpContext) throws java.lang.Throwable, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, FormatException, SecurityException
- Overrides:
GetRouteDatain classRouteBase- Throws:
java.lang.ThrowableNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotSupportedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionSecurityException
-
GetVirtualPath
public VirtualPathData GetVirtualPath(RequestContext requestContext, RouteValueDictionary values) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, CultureNotFoundException, NotSupportedException, OutOfMemoryException, UriFormatException, SecurityException
- Overrides:
GetVirtualPathin classRouteBase- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionArgumentNullExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionNotSupportedExceptionOutOfMemoryExceptionUriFormatExceptionSecurityException
-
getUrl
public java.lang.String getUrl() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setUrl
public void setUrl(java.lang.String Url) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexException
-
getRouteHandler
public IRouteHandler getRouteHandler() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRouteHandler
public void setRouteHandler(IRouteHandler RouteHandler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getConstraints
public RouteValueDictionary getConstraints() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setConstraints
public void setConstraints(RouteValueDictionary Constraints) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDataTokens
public RouteValueDictionary getDataTokens() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDataTokens
public void setDataTokens(RouteValueDictionary DataTokens) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getDefaults
public RouteValueDictionary getDefaults() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setDefaults
public void setDefaults(RouteValueDictionary Defaults) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-