Package org.analogweb.core
Class DefaultRouteRegistry
- java.lang.Object
-
- org.analogweb.core.DefaultRouteRegistry
-
- All Implemented Interfaces:
Disposable
,RouteRegistry
public class DefaultRouteRegistry extends Object implements RouteRegistry
- Author:
- snowgoose
-
-
Constructor Summary
Constructors Constructor Description DefaultRouteRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Dispose all the states.InvocationMetadata
findInvocationMetadata(RequestContext requestContext, List<InvocationMetadataFinder> finders)
Find matchedInvocationMetadata
.void
register(InvocationMetadata actionMethodMetadata)
RegisterInvocationMetadata
.String
toString()
protected InvocationMetadata
update(RequestPathMetadata path, InvocationMetadataFinder.Cacheable metadata)
-
-
-
Method Detail
-
findInvocationMetadata
public InvocationMetadata findInvocationMetadata(RequestContext requestContext, List<InvocationMetadataFinder> finders)
Description copied from interface:RouteRegistry
Find matchedInvocationMetadata
.- Specified by:
findInvocationMetadata
in interfaceRouteRegistry
- Parameters:
requestContext
-RequestContext
- Returns:
InvocationMetadata
-
update
protected InvocationMetadata update(RequestPathMetadata path, InvocationMetadataFinder.Cacheable metadata)
-
register
public void register(InvocationMetadata actionMethodMetadata)
Description copied from interface:RouteRegistry
RegisterInvocationMetadata
.- Specified by:
register
in interfaceRouteRegistry
- Parameters:
actionMethodMetadata
-InvocationMetadata
-
dispose
public void dispose()
Description copied from interface:Disposable
Dispose all the states.- Specified by:
dispose
in interfaceDisposable
-
-