|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.craftforge.essential.context.basic.BasicRequestImpl
public class BasicRequestImpl
A basic implementation of a controller request.
| Constructor Summary | |
|---|---|
BasicRequestImpl(String httpMethod,
String urlInfoPart,
Map<String,String[]> requestHeaders,
Map<String,String[]> requestParameters,
InputStream inputStream)
Creates a basic request. |
|
| Method Summary | |
|---|---|
InputStream |
getBodyInputStream()
Gets the input stream of the request body. |
Map<String,String[]> |
getHeaders()
Gets the headers of the request. |
String |
getHttpMethod()
Gets the HTTP method of the request. |
Map<String,String[]> |
getParameters()
Gets the parameter map, containing all query or form parameters being delivered in the request. |
String |
getUrlInfoPart()
Gets the info part of the request url. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicRequestImpl(String httpMethod,
String urlInfoPart,
Map<String,String[]> requestHeaders,
Map<String,String[]> requestParameters,
InputStream inputStream)
httpMethod - The HTTP request methodurlInfoPart - The request URL info partrequestHeaders - The HTTP request headersrequestParameters - The HTTP request parametersinputStream - The HTTP body input stream| Method Detail |
|---|
public String getHttpMethod()
getHttpMethod in interface Requestpublic String getUrlInfoPart()
getUrlInfoPart in interface Requestpublic Map<String,String[]> getHeaders()
getHeaders in interface Requestpublic Map<String,String[]> getParameters()
getParameters in interface Requestpublic InputStream getBodyInputStream()
getBodyInputStream in interface Request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||