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