public class HttpServletRequest extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
GET |
static org.apache.logging.log4j.Logger |
logger |
static String |
POST |
| 构造器和说明 |
|---|
HttpServletRequest(Socket socket) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
getHeader(String name) |
String |
getMethod() |
Object |
getParamBody() |
Object |
getParameter(String name) |
String |
getProtocol() |
String |
getQueryString() |
String |
getRequestURI() |
String |
getUri() |
void |
setMethod(String method) |
void |
setProtocol(String protocol) |
void |
setUri(String url) |
public static final org.apache.logging.log4j.Logger logger
public static String POST
public static String GET
public HttpServletRequest(Socket socket) throws IOException, EmptyRequestException
public Object getParamBody()
public String getMethod()
public void setMethod(String method)
public String getUri()
public void setUri(String url)
public String getProtocol()
public void setProtocol(String protocol)
public String getRequestURI()
public String getQueryString()
Copyright © 2023. All rights reserved.