Uses of Interface
org.odoframework.service.web.WebResponse
| Package | Description |
|---|---|
| org.odoframework.service.web |
-
Uses of WebResponse in org.odoframework.service.web
Classes in org.odoframework.service.web that implement WebResponse Modifier and Type Class Description classSimpleWebResponseMethods in org.odoframework.service.web that return WebResponse Modifier and Type Method Description default WebResponseWebResponse. addHeader(String name, boolean value)default WebResponseWebResponse. addHeader(String name, long value)WebResponseWebResponse. addHeader(String name, String value)WebResponseHttpRouter. apply(WebRequest s, Invocation invocation)WebResponseWebResponse. body(String body)default WebResponseWebResponse. contentType(String contentType)default WebResponseWebFunction. created(String locationUrl)default WebResponseWebResponse. created()WebResponseWebResponse. message(String message)protected <T> WebResponseHttpRouter. notFound(Object body)default WebResponseWebFunction. notFound()default WebResponseWebResponse. notFound()protected <T> WebResponseHttpRouter. ok(Object body)default <T> WebResponseWebFunction. ok()default WebResponseWebResponse. ok()default WebResponseWebFunction. response()protected <T> WebResponseHttpRouter. serverError(Object body)default WebResponseWebFunction. serverError()default WebResponseWebResponse. serverError()WebResponseWebResponse. status(int statusCode)default WebResponseWebFunction. unsupported(String message)protected <T> WebResponseHttpRouter. userError(Object body)default WebResponseWebFunction. userError()default WebResponseWebResponse. userError()Methods in org.odoframework.service.web that return types with arguments of type WebResponse Modifier and Type Method Description Map<String,Map<String,BiFunction<WebRequest,Invocation,WebResponse>>>HttpRouter. getHandlers()Method parameters in org.odoframework.service.web with type arguments of type WebResponse Modifier and Type Method Description HttpRouterHttpRouter. addMapping(String operation, String path, BiFunction<WebRequest,Invocation,WebResponse> handler)HttpRouterHttpRouter. delete(String path, BiFunction<WebRequest,Invocation,WebResponse> handler)HttpRouterHttpRouter. get(String path, BiFunction<WebRequest,Invocation,WebResponse> handler)HttpRouterHttpRouter. head(String path, BiFunction<WebRequest,Invocation,WebResponse> handler)HttpRouterHttpRouter. post(String path, BiFunction<WebRequest,Invocation,WebResponse> handler)HttpRouterHttpRouter. put(String path, BiFunction<WebRequest,Invocation,WebResponse> handler)