public final class Request extends CommonRequest implements Reset
aioSession, attachment, configuration, connection, contentLength, contentType, cookies, headers, headerSize, hostHeader, method, parameters, protocol, queryString, remoteAddr, remoteHost, requestUri, requestUrl, scheme, sslEngine, uri| Modifier and Type | Method and Description |
|---|---|
org.smartboot.socket.transport.AioSession |
getAioSession() |
DecoderUnit |
getDecodeState() |
BodyInputStream |
getInputStream() |
InetSocketAddress |
getLocalAddress() |
String |
getRemoteAddr()
Returns the Internet Protocol (IP) address of the client
or last proxy that sent the request.
|
InetSocketAddress |
getRemoteAddress() |
String |
getRemoteHost()
Returns the fully qualified name of the client
or the last proxy that sent the request.
|
HttpTypeEnum |
getRequestType() |
ServerHandler |
getServerHandler() |
Map<String,String> |
getTrailerFields() |
Http2Session |
newHttp2Session() |
HttpRequestImpl |
newHttpRequest() |
WebSocketRequestImpl |
newWebsocketRequest() |
void |
reset() |
void |
setInputStream(BodyInputStream inputStream) |
void |
setLatestIo(long latestIo) |
void |
setServerHandler(ServerHandler serverHandler) |
void |
setType(HttpTypeEnum type) |
getAttachment, getCharacterEncoding, getConfiguration, getConnection, getContentLength, getContentType, getCookies, getHeader, getHeader, getHeaderNames, getHeaders, getHeaderSize, getHost, getLocale, getLocales, getMethod, getParameter, getParameters, getParameterValues, getProtocol, getQueryString, getRequestURI, getRequestURL, getScheme, getSslEngine, getUri, isMultiplexing, isSecure, setAttachment, setHeader, setMethod, setProtocol, setQueryString, setRequestURI, setScheme, setUripublic void setInputStream(BodyInputStream inputStream)
public BodyInputStream getInputStream()
getInputStream in class CommonRequestpublic org.smartboot.socket.transport.AioSession getAioSession()
getAioSession in class CommonRequestpublic HttpTypeEnum getRequestType()
getRequestType in class CommonRequestpublic void setType(HttpTypeEnum type)
setType in class CommonRequestpublic ServerHandler getServerHandler()
getServerHandler in class CommonRequestpublic void setServerHandler(ServerHandler serverHandler)
setServerHandler in class CommonRequestpublic String getRemoteAddr()
REMOTE_ADDR.getRemoteAddr in class CommonRequestString containing the
IP address of the client that sent the requestpublic InetSocketAddress getRemoteAddress()
getRemoteAddress in class CommonRequestpublic InetSocketAddress getLocalAddress()
getLocalAddress in class CommonRequestpublic String getRemoteHost()
REMOTE_HOST.getRemoteHost in class CommonRequestString containing the fully
qualified name of the clientpublic HttpRequestImpl newHttpRequest()
public Http2Session newHttp2Session()
public WebSocketRequestImpl newWebsocketRequest()
public void setLatestIo(long latestIo)
public DecoderUnit getDecodeState()
public void reset()
reset in interface Resetreset in class CommonRequestCopyright © 2025. All rights reserved.