public class UndertowHttpExchange extends HttpExchange
REQUEST_CIPHER_SUITE, REQUEST_KEY_SIZE, REQUEST_X509CERTIFICATE| Constructor and Description |
|---|
UndertowHttpExchange(io.undertow.server.HttpServerExchange serverExchange) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResponseHeader(String name,
String value) |
void |
close() |
Object |
getAttribute(String name) |
Set<String> |
getAttributeNames() |
String |
getContextPath() |
HttpContext |
getHttpContext() |
InetSocketAddress |
getLocalAddress() |
String |
getPathInfo() |
String |
getProtocol() |
String |
getQueryString() |
InetSocketAddress |
getRemoteAddress() |
InputStream |
getRequestBody() |
String |
getRequestHeader(String name) |
Map<String,List<String>> |
getRequestHeaders() |
String |
getRequestMethod() |
String |
getRequestURI() |
OutputStream |
getResponseBody() |
Map<String,List<String>> |
getResponseHeaders() |
String |
getScheme() |
Principal |
getUserPrincipal() |
boolean |
isUserInRole(String role) |
void |
setStatus(int status) |
public UndertowHttpExchange(io.undertow.server.HttpServerExchange serverExchange)
public Map<String,List<String>> getRequestHeaders()
getRequestHeaders in class HttpExchangepublic String getRequestHeader(String name)
getRequestHeader in class HttpExchangepublic Map<String,List<String>> getResponseHeaders()
getResponseHeaders in class HttpExchangepublic void addResponseHeader(String name, String value)
addResponseHeader in class HttpExchangepublic String getRequestURI()
getRequestURI in class HttpExchangepublic String getContextPath()
getContextPath in class HttpExchangepublic String getRequestMethod()
getRequestMethod in class HttpExchangepublic HttpContext getHttpContext()
getHttpContext in class HttpExchangepublic void close()
throws IOException
close in class HttpExchangeIOExceptionpublic InputStream getRequestBody() throws IOException
getRequestBody in class HttpExchangeIOExceptionpublic OutputStream getResponseBody() throws IOException
getResponseBody in class HttpExchangeIOExceptionpublic void setStatus(int status)
setStatus in class HttpExchangepublic InetSocketAddress getRemoteAddress()
getRemoteAddress in class HttpExchangepublic InetSocketAddress getLocalAddress()
getLocalAddress in class HttpExchangepublic String getProtocol()
getProtocol in class HttpExchangepublic String getScheme()
getScheme in class HttpExchangepublic String getPathInfo()
getPathInfo in class HttpExchangepublic String getQueryString()
getQueryString in class HttpExchangepublic Object getAttribute(String name)
getAttribute in class HttpExchangepublic Set<String> getAttributeNames()
getAttributeNames in class HttpExchangepublic Principal getUserPrincipal()
getUserPrincipal in class HttpExchangepublic boolean isUserInRole(String role)
isUserInRole in class HttpExchangeCopyright © 2021 JBoss, by Red Hat. All rights reserved.