- All Superinterfaces:
Context
Extension to Context for processing the request.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.avaje.jex.Context
Context.Cookie -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the request inputStream to read content from.Return the response outputStream to write content to.voidPreform the redirect as part of Exception handling typically due to before handler.voidsetMode(Routing.Type type) Set to indicate BEFORE, Handler and AFTER modes of the request.Methods inherited from interface io.avaje.jex.Context
attribute, attribute, body, bodyAsBytes, bodyAsClass, contentLength, contentType, contentType, contextPath, cookie, cookie, cookie, cookie, cookieMap, formParam, formParam, formParamMap, formParams, fullUrl, header, header, headerMap, host, html, ip, isMultipart, isMultipartFormData, json, jsonStream, jsonStream, matchedPath, method, path, pathParam, pathParamMap, port, protocol, queryParam, queryParam, queryParamMap, queryParams, queryString, redirect, redirect, removeCookie, removeCookie, render, render, responseHeader, scheme, sessionAttribute, sessionAttribute, sessionAttributeMap, status, status, text, uploadedFile, uploadedFiles, uploadedFiles, url, userAgent, write
-
Field Details
-
TEXT_HTML
- See Also:
-
TEXT_PLAIN
- See Also:
-
TEXT_HTML_UTF8
- See Also:
-
TEXT_PLAIN_UTF8
- See Also:
-
APPLICATION_JSON
- See Also:
-
APPLICATION_X_JSON_STREAM
- See Also:
-
-
Method Details
-
outputStream
OutputStream outputStream()Return the response outputStream to write content to. -
inputStream
InputStream inputStream()Return the request inputStream to read content from. -
setMode
Set to indicate BEFORE, Handler and AFTER modes of the request. -
performRedirect
void performRedirect()Preform the redirect as part of Exception handling typically due to before handler.
-