Package system.web.routing
Class RouteCollection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- org.mases.jcobridge.netreflection.NetObjectEnumerable
-
- system.web.routing.RouteCollection
-
- All Implemented Interfaces:
java.lang.Iterable<NetObject>
,IEnumerable
,IJCOBridgeReflected
public class RouteCollection extends NetObjectEnumerable
The base .NET class managing System.Web.Routing.RouteCollection, 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.RouteCollection
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.RouteCollectionstatic JCType
classType
The type managed from JCOBridge.-
Fields inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
Null
-
-
Constructor Summary
Constructors Constructor Description RouteCollection()
RouteCollection(java.lang.Object instance)
Internal constructor.RouteCollection(VirtualPathProvider virtualPathProvider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
Add(java.lang.String name, RouteBase item)
static RouteCollection
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoRouteCollection
, a cast assert is made to check if types are compatible.boolean
getAppendTrailingSlash()
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 Typeboolean
getLowercaseUrls()
IDisposable
GetReadLock()
RouteData
GetRouteData(HttpContextBase httpContext)
boolean
getRouteExistingFiles()
VirtualPathData
GetVirtualPath(RequestContext requestContext, java.lang.String name, RouteValueDictionary values)
VirtualPathData
GetVirtualPath(RequestContext requestContext, RouteValueDictionary values)
IDisposable
GetWriteLock()
void
Ignore(java.lang.String url)
void
Ignore(java.lang.String url, NetObject constraints)
Route
MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile)
Route
MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile, boolean checkPhysicalUrlAccess)
Route
MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile, boolean checkPhysicalUrlAccess, RouteValueDictionary defaults)
Route
MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile, boolean checkPhysicalUrlAccess, RouteValueDictionary defaults, RouteValueDictionary constraints)
Route
MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile, boolean checkPhysicalUrlAccess, RouteValueDictionary defaults, RouteValueDictionary constraints, RouteValueDictionary dataTokens)
void
setAppendTrailingSlash(boolean AppendTrailingSlash)
void
setJCOInstance(JCObject instance)
void
setLowercaseUrls(boolean LowercaseUrls)
void
setRouteExistingFiles(boolean RouteExistingFiles)
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObjectEnumerable
GetEnumerator, iterator
-
-
-
-
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.RouteCollection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RouteCollection
public RouteCollection(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
RouteCollection
public RouteCollection() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
RouteCollection
public RouteCollection(VirtualPathProvider virtualPathProvider) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentException
-
-
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 classNetObjectEnumerable
- 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 classNetObjectEnumerable
- 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 classNetObjectEnumerable
- 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 classNetObjectEnumerable
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObjectEnumerable
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObjectEnumerable
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static RouteCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoRouteCollection
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
RouteCollection
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
GetReadLock
public IDisposable GetReadLock() throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, LockRecursionException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
InvalidOperationException
LockRecursionException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
GetWriteLock
public IDisposable GetWriteLock() throws java.lang.Throwable, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, LockRecursionException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
InvalidOperationException
LockRecursionException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
MapPageRoute
public Route MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, PlatformNotSupportedException, OutOfMemoryException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
PlatformNotSupportedException
OutOfMemoryException
EventSourceException
-
MapPageRoute
public Route MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile, boolean checkPhysicalUrlAccess) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, PlatformNotSupportedException, OutOfMemoryException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
PlatformNotSupportedException
OutOfMemoryException
EventSourceException
-
MapPageRoute
public Route MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile, boolean checkPhysicalUrlAccess, RouteValueDictionary defaults) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, PlatformNotSupportedException, OutOfMemoryException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
PlatformNotSupportedException
OutOfMemoryException
EventSourceException
-
MapPageRoute
public Route MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile, boolean checkPhysicalUrlAccess, RouteValueDictionary defaults, RouteValueDictionary constraints) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, PlatformNotSupportedException, OutOfMemoryException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
NotSupportedException
PlatformNotSupportedException
OutOfMemoryException
EventSourceException
-
MapPageRoute
public Route MapPageRoute(java.lang.String routeName, java.lang.String routeUrl, java.lang.String physicalFile, boolean checkPhysicalUrlAccess, RouteValueDictionary defaults, RouteValueDictionary constraints, RouteValueDictionary dataTokens) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, FormatException, NotSupportedException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
NotImplementedException
ArgumentOutOfRangeException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
FormatException
NotSupportedException
PlatformNotSupportedException
CryptographicException
OutOfMemoryException
EventSourceException
-
GetRouteData
public RouteData GetRouteData(HttpContextBase httpContext) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, LockRecursionException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentNullException
NotImplementedException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
LockRecursionException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
GetVirtualPath
public VirtualPathData GetVirtualPath(RequestContext requestContext, java.lang.String name, RouteValueDictionary values) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, LockRecursionException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
LockRecursionException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
IndexOutOfRangeException
-
GetVirtualPath
public VirtualPathData GetVirtualPath(RequestContext requestContext, RouteValueDictionary values) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, LockRecursionException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
LockRecursionException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
IndexOutOfRangeException
-
Add
public void Add(java.lang.String name, RouteBase item) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, PlatformNotSupportedException, CryptographicException, OutOfMemoryException, EventSourceException
- Throws:
java.lang.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
NotImplementedException
ArgumentOutOfRangeException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
PlatformNotSupportedException
CryptographicException
OutOfMemoryException
EventSourceException
-
Ignore
public void Ignore(java.lang.String url) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, RankException, NullReferenceException
-
Ignore
public void Ignore(java.lang.String url, NetObject constraints) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, RankException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
NotSupportedException
IndexOutOfRangeException
RankException
NullReferenceException
-
getAppendTrailingSlash
public boolean getAppendTrailingSlash() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAppendTrailingSlash
public void setAppendTrailingSlash(boolean AppendTrailingSlash) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getLowercaseUrls
public boolean getLowercaseUrls() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setLowercaseUrls
public void setLowercaseUrls(boolean LowercaseUrls) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRouteExistingFiles
public boolean getRouteExistingFiles() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setRouteExistingFiles
public void setRouteExistingFiles(boolean RouteExistingFiles) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-