| Package | Description |
|---|---|
| io.mangoo.admin | |
| io.mangoo.filters | |
| io.mangoo.filters.oauth | |
| io.mangoo.interfaces | |
| io.mangoo.routing | |
| io.mangoo.routing.handlers |
| Modifier and Type | Method and Description |
|---|---|
Response |
AdminController.cache() |
Response |
AdminFilter.execute(Request request,
Response response) |
Response |
AdminController.execute(String name) |
Response |
AdminController.index() |
Response |
AdminController.metrics() |
Response |
AdminController.routes() |
Response |
AdminController.scheduler() |
Response |
AdminController.state(String name) |
| Modifier and Type | Method and Description |
|---|---|
Response |
AdminFilter.execute(Request request,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
JsonWebTokenFilter.execute(Request request,
Response response) |
Response |
BasicAuthenticationFilter.execute(Request request,
Response response) |
Response |
AuthenticityFilter.execute(Request request,
Response response) |
Response |
AuthenticationFilter.execute(Request request,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
JsonWebTokenFilter.execute(Request request,
Response response) |
Response |
BasicAuthenticationFilter.execute(Request request,
Response response) |
Response |
AuthenticityFilter.execute(Request request,
Response response) |
Response |
AuthenticationFilter.execute(Request request,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
OAuthLoginFilter.execute(Request request,
Response response) |
Response |
OAuthCallbackFilter.execute(Request request,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
OAuthLoginFilter.execute(Request request,
Response response) |
Response |
OAuthCallbackFilter.execute(Request request,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
MangooRequestFilter.execute(Request request,
Response response) |
Response |
MangooFilter.execute(Request request,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
MangooRequestFilter.execute(Request request,
Response response) |
Response |
MangooFilter.execute(Request request,
Response response) |
| Modifier and Type | Method and Description |
|---|---|
Response |
Response.andBinaryContent(byte[] content)
Sends binary content to the client skipping rendering
|
Response |
Response.andBinaryFile(File file)
Sends a binary file to the client skipping rendering
|
Response |
Response.andBody(String body)
Sets the body of the response.
|
Response |
Response.andCharset(String charset)
Sets a specific charset to the response
|
Response |
Response.andContent(Map<String,Object> content)
Adds an additional content map to the content rendered in the template.
|
Response |
Response.andContent(String name,
Object object)
Adds a value to the template that can be accessed using ${name} in the template
|
Response |
Response.andContentType(String contentType)
Sets a specific content type to use for the response.
|
Response |
Response.andCookie(io.undertow.server.handlers.Cookie cookie)
Adds an additional Cookie to the response which is passed to the client
|
Response |
Response.andEmptyBody()
Disables template rendering, sending an empty body in the response
|
Response |
Response.andEtag()
Adds an ETag header to the response by hashing (MD5) the response body.
|
Response |
Response.andHeader(io.undertow.util.HttpString key,
String value)
Adds an additional header to the request response.
|
Response |
Response.andHeaders(Map<io.undertow.util.HttpString,String> headers)
Adds an additional header map to the response.
|
Response |
Response.andJsonBody(Object jsonObject)
Converts a given Object to JSON and passing it to the response.
|
Response |
Response.andTemplate(String template)
Sets a specific template to use for the response
|
Response |
Response.andTextBody(String text)
Sets the body of the response.
|
Response |
Response.end()
Tells a filter that the response ends and that the request handler
should not execute further filters by sending the current response
to the client.
|
Response |
Attachment.getResponse() |
static Response |
Response.withBadRequest()
Creates a response object with HTTP status code 400
|
static Response |
Response.withCreated()
Creates a response object with HTTP status code 201
|
static Response |
Response.withForbidden()
Creates a response object with HTTP status code 401
|
static Response |
Response.withInternalServerError()
Creates a response object with HTTP status code 500
|
static Response |
Response.withNotFound()
Creates a response object with HTTP status code 404
|
static Response |
Response.withOk()
Creates a response object with HTTP status code 200
|
static Response |
Response.withRedirect(String redirectTo)
Creates a response object with a given url to redirect to
|
static Response |
Response.withStatusCode(int statusCode)
Creates a response object with a given HTTP status code
|
static Response |
Response.withUnauthorized()
Creates a response object with HTTP status code 403
|
| Modifier and Type | Method and Description |
|---|---|
void |
Attachment.setResponse(Response response) |
| Constructor and Description |
|---|
BinaryHandler(Response response) |
Copyright © 2016. All rights reserved.