public class JsEndpoint extends RestEndpointBase
Constructor and Description |
---|
JsEndpoint() |
JsEndpoint(String route) |
JsEndpoint(String route,
String method) |
Modifier and Type | Method and Description |
---|---|
JsEndpoint |
bodyParam(String name) |
JavascriptRequestHandler |
getHandler() |
JsEndpoint |
handler(JavascriptRequestHandler handler) |
JsEndpoint |
mapParam() |
JsEndpoint |
pathParam(String name) |
JsEndpoint |
queryParam(String name) |
JsEndpoint |
setHandler(JavascriptRequestHandler handler) |
consumes, equals, getArgs, getCheckXSRF, getConsumes, getJsonViewClass, getMethod, getProduces, getRole, getRoute, getScope, hashCode, isScoped, produces, setArgs, setCheckXSRF, setConsumes, setJsonViewClass, setMethod, setProduces, setRole, setRole, setRoute, setScope, shouldCheckXSRF
public JsEndpoint()
public JsEndpoint(String route)
public JsEndpoint(String route, String method)
public JsEndpoint bodyParam(String name)
public JsEndpoint queryParam(String name)
public JsEndpoint pathParam(String name)
public JsEndpoint mapParam()
public JavascriptRequestHandler getHandler()
public JsEndpoint setHandler(JavascriptRequestHandler handler)
public JsEndpoint handler(JavascriptRequestHandler handler)
Copyright © 2016. All rights reserved.