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.String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Webstatic java.lang.String
className
Qualified class name: System.Web.Routing.Routestatic JCType
classType
The 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 Route
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoRoute
, a cast assert is made to check if types are compatible.RouteValueDictionary
getConstraints()
RouteValueDictionary
getDataTokens()
RouteValueDictionary
getDefaults()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeRouteData
GetRouteData(HttpContextBase httpContext)
IRouteHandler
getRouteHandler()
java.lang.String
getUrl()
VirtualPathData
GetVirtualPath(RequestContext requestContext, RouteValueDictionary values)
void
setConstraints(RouteValueDictionary Constraints)
void
setDataTokens(RouteValueDictionary DataTokens)
void
setDefaults(RouteValueDictionary Defaults)
void
setJCOInstance(JCObject instance)
void
setRouteHandler(IRouteHandler RouteHandler)
void
setUrl(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.Throwable
Internal 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:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classRouteBase
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classRouteBase
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classRouteBase
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classRouteBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classRouteBase
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classRouteBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Route cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoRoute
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Route
instance- 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:
GetRouteData
in classRouteBase
- Throws:
java.lang.Throwable
NotImplementedException
ArgumentOutOfRangeException
IndexOutOfRangeException
ArgumentException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
NotSupportedException
OutOfMemoryException
MissingManifestResourceException
ObjectDisposedException
FormatException
SecurityException
-
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:
GetVirtualPath
in classRouteBase
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
ArgumentNullException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
IndexOutOfRangeException
CultureNotFoundException
NotSupportedException
OutOfMemoryException
UriFormatException
SecurityException
-
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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
-
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
-
-