public interface HttpRequest
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<SSLEngine> |
SSL_ENGINE_THREAD_LOCAL |
static final ThreadLocal<SSLEngine> SSL_ENGINE_THREAD_LOCAL
Collection<String> getHeaders(String name)
Collection<String> getHeaderNames()
BodyInputStream getInputStream() throws IOException
IOExceptionString getRequestURI()
HttpProtocolEnum getProtocol()
String getMethod()
String
specifying the name
of the method with which
this request was madeboolean isSecure()
String getScheme()
String getRequestURL()
String getQueryString()
String getContentType()
long getContentLength()
default Collection<Part> getParts() throws IOException
IOExceptionCollection<Part> getParts(MultipartConfig configElement) throws IOException
IOExceptiondefault boolean isTrailerFieldsReady()
String getRemoteAddr()
REMOTE_ADDR.String containing the
IP address of the client that sent the requestInetSocketAddress getRemoteAddress()
InetSocketAddress getLocalAddress()
String getRemoteHost()
REMOTE_HOST.String containing the fully
qualified name of the clientLocale getLocale()
Enumeration<Locale> getLocales()
String getCharacterEncoding()
Cookie[] getCookies()
org.smartboot.socket.util.Attachment getAttachment()
void setAttachment(org.smartboot.socket.util.Attachment attachment)
attachment - 附件对象SSLEngine getSslEngine()
default PushBuilder newPushBuilder()
Copyright © 2025. All rights reserved.