public class SpincastRoute<R extends IRequestContext<?>> extends Object implements IRoute<R>
| Constructor and Description |
|---|
SpincastRoute(String id,
Set<HttpMethod> httpMethods,
String path,
Set<RoutingType> routingTypes,
List<IHandler<R>> beforeFilters,
IHandler<R> mainHandler,
List<IHandler<R>> afterFilters,
Set<Integer> positions,
Set<String> acceptedContentTypes)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAcceptedContentTypes() |
List<IHandler<R>> |
getAfterFilters() |
List<IHandler<R>> |
getBeforeFilters() |
Set<HttpMethod> |
getHttpMethods() |
String |
getId() |
IHandler<R> |
getMainHandler() |
String |
getPath() |
List<Integer> |
getPositions() |
Set<RoutingType> |
getRoutingTypes() |
String |
toString() |
public SpincastRoute(@Nullable String id, Set<HttpMethod> httpMethods, String path, Set<RoutingType> routingTypes, @Nullable List<IHandler<R>> beforeFilters, IHandler<R> mainHandler, @Nullable List<IHandler<R>> afterFilters, Set<Integer> positions, @Nullable Set<String> acceptedContentTypes)
public Set<HttpMethod> getHttpMethods()
getHttpMethods in interface IRoute<R extends IRequestContext<?>>public Set<String> getAcceptedContentTypes()
getAcceptedContentTypes in interface IRoute<R extends IRequestContext<?>>public String getId()
getId in interface IRoute<R extends IRequestContext<?>>public String getPath()
getPath in interface IRoute<R extends IRequestContext<?>>public Set<RoutingType> getRoutingTypes()
getRoutingTypes in interface IRoute<R extends IRequestContext<?>>public List<IHandler<R>> getBeforeFilters()
getBeforeFilters in interface IRoute<R extends IRequestContext<?>>public IHandler<R> getMainHandler()
getMainHandler in interface IRoute<R extends IRequestContext<?>>public List<IHandler<R>> getAfterFilters()
getAfterFilters in interface IRoute<R extends IRequestContext<?>>public List<Integer> getPositions()
getPositions in interface IRoute<R extends IRequestContext<?>>Copyright © 2016. All rights reserved.