public class Route extends Object
| Modifier and Type | Method and Description |
|---|---|
Route |
allowBlocking(boolean blocking) |
Class<?> |
getControllerClass() |
String |
getControllerMethod() |
io.undertow.util.HttpString |
getRequestMethod() |
RouteType |
getRouteType() |
String |
getUrl() |
boolean |
isAuthenticationRequired() |
boolean |
isBlockingAllowed() |
boolean |
isInternalTemplateEngine() |
Route |
toUrl(String url) |
Route |
useInternalTemplateEngine() |
Route |
withAuthentication(boolean authentication) |
Route |
withClass(Class<?> controllerClass) |
Route |
withMethod(String controllerMethod) |
Route |
withRequest(io.undertow.util.HttpString requestMethod) |
public Route(RouteType routeType)
public Route withRequest(io.undertow.util.HttpString requestMethod)
public Route withAuthentication(boolean authentication)
public Route allowBlocking(boolean blocking)
public Route useInternalTemplateEngine()
public String getUrl()
public RouteType getRouteType()
public Class<?> getControllerClass()
public String getControllerMethod()
public io.undertow.util.HttpString getRequestMethod()
public boolean isAuthenticationRequired()
public boolean isInternalTemplateEngine()
public boolean isBlockingAllowed()
Copyright © 2016. All rights reserved.