public class RouteDefault<R extends RequestContext<?>> extends Object implements Route<R>
| Constructor and Description |
|---|
RouteDefault(String id,
boolean isResourceRoute,
boolean spicastCoreRouteOrPluginRoute,
Set<HttpMethod> httpMethods,
String path,
Set<RoutingType> routingTypes,
List<Handler<R>> beforeFilters,
Handler<R> mainHandler,
List<Handler<R>> afterFilters,
int position,
Set<String> acceptedContentTypes,
Set<String> filterIdsToSkip,
boolean skipResources)
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() |
int |
getPosition() |
Set<RoutingType> |
getRoutingTypes() |
boolean |
isResourceRoute() |
boolean |
isSkipResourcesRequests() |
boolean |
isSpicastCoreRouteOrPluginRoute() |
String |
toString() |
public RouteDefault(@Nullable String id, boolean isResourceRoute, boolean spicastCoreRouteOrPluginRoute, Set<HttpMethod> httpMethods, String path, Set<RoutingType> routingTypes, @Nullable List<Handler<R>> beforeFilters, Handler<R> mainHandler, @Nullable List<Handler<R>> afterFilters, int position, @Nullable Set<String> acceptedContentTypes, @Nullable Set<String> filterIdsToSkip, boolean skipResources)
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 boolean isResourceRoute()
isResourceRoute in interface Route<R extends RequestContext<?>>public boolean isSpicastCoreRouteOrPluginRoute()
isSpicastCoreRouteOrPluginRoute in interface Route<R extends RequestContext<?>>public String getPath()
getPath in interface Route<R extends RequestContext<?>>public boolean isSkipResourcesRequests()
isSkipResourcesRequests 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 int getPosition()
getPosition in interface Route<R extends RequestContext<?>>public Set<String> getFilterIdsToSkip()
getFilterIdsToSkip in interface Route<R extends RequestContext<?>>Copyright © 2019. All rights reserved.