public final class Request extends Object implements HttpRequest, Reset
public DecodePartEnum getDecodePartEnum()
public void setDecodePartEnum(DecodePartEnum decodePartEnum)
public org.smartboot.socket.transport.AioSession getAioSession()
public String getHost()
public String getHeader(String headName)
HttpRequestgetHeader 在接口中 HttpRequestpublic Collection<String> getHeaders(String name)
getHeaders 在接口中 HttpRequestpublic Collection<String> getHeaderNames()
getHeaderNames 在接口中 HttpRequestpublic int getHeaderSize()
public InputStream getInputStream()
getInputStream 在接口中 HttpRequestpublic void setHeadValue(String value)
public HttpTypeEnum getRequestType()
public ServerHandler getServerHandler()
public void setServerHandler(ServerHandler serverHandler)
public String getRequestURI()
getRequestURI 在接口中 HttpRequestpublic void setRequestURI(String uri)
public String getProtocol()
getProtocol 在接口中 HttpRequestpublic void setProtocol(String protocol)
public String getMethod()
HttpRequestgetMethod 在接口中 HttpRequestString
specifying the name
of the method with which
this request was madepublic boolean isSecure()
HttpRequestisSecure 在接口中 HttpRequestpublic void setMethod(String method)
public String getUri()
public void setUri(String uri)
public void setHeaderTemp(ByteTree headerTemp)
public String getRequestURL()
getRequestURL 在接口中 HttpRequestpublic String getScheme()
getScheme 在接口中 HttpRequestpublic void setScheme(String scheme)
public String getQueryString()
getQueryString 在接口中 HttpRequestpublic void setQueryString(String queryString)
public String getContentType()
getContentType 在接口中 HttpRequestpublic int getContentLength()
getContentLength 在接口中 HttpRequestpublic String getParameter(String name)
getParameter 在接口中 HttpRequestpublic String[] getParameterValues(String name)
getParameterValues 在接口中 HttpRequestpublic Map<String,String[]> getParameters()
getParameters 在接口中 HttpRequestpublic String getRemoteAddr()
REMOTE_ADDR.getRemoteAddr 在接口中 HttpRequestString containing the
IP address of the client that sent the requestpublic InetSocketAddress getRemoteAddress()
getRemoteAddress 在接口中 HttpRequestpublic InetSocketAddress getLocalAddress()
getLocalAddress 在接口中 HttpRequestpublic String getRemoteHost()
REMOTE_HOST.getRemoteHost 在接口中 HttpRequestString containing the fully
qualified name of the clientpublic Locale getLocale()
getLocale 在接口中 HttpRequestpublic Enumeration<Locale> getLocales()
getLocales 在接口中 HttpRequestpublic String getCharacterEncoding()
getCharacterEncoding 在接口中 HttpRequestpublic Cookie[] getCookies()
HttpRequestgetCookies 在接口中 HttpRequestpublic void setFormUrlencoded(ByteBuffer formUrlencoded)
public org.smartboot.socket.util.Attachment getAttachment()
getAttachment 在接口中 HttpRequestpublic void setAttachment(org.smartboot.socket.util.Attachment attachment)
setAttachment 在接口中 HttpRequestattachment - 附件对象public org.smartboot.http.server.impl.AbstractRequest newAbstractRequest()
public HttpRequestImpl newHttpRequest()
public WebSocketRequestImpl newWebsocketRequest()
public HttpServerConfiguration getConfiguration()
public void setLatestIo(long latestIo)
public Decoder getDecoder()
public void setDecoder(Decoder decoder)
public SmartDecoder getBodyDecoder()
public void setBodyDecoder(SmartDecoder bodyDecoder)
Copyright © 2024. All rights reserved.