public class GrizzlyMiltonRequest extends AbstractRequest
Request.CacheControlRequest, Request.Depth, Request.Header, Request.MethodINFINITY| Constructor and Description |
|---|
GrizzlyMiltonRequest(org.glassfish.grizzly.http.server.Request wrapped) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbsolutePath() |
String |
getAbsoluteUrl() |
Auth |
getAuthorization() |
Cookie |
getCookie(String name) |
List<Cookie> |
getCookies() |
String |
getFromAddress() |
Map<String,String> |
getHeaders() |
String |
getHostHeader() |
InputStream |
getInputStream() |
Request.Method |
getMethod() |
String |
getRemoteAddr()
Returns X-Forwarded-For if present
|
protected Response.ContentType |
getRequestContentType() |
String |
getRequestHeader(Request.Header header) |
protected boolean |
isMultiPart() |
protected boolean |
isMultiPartMixed() |
static void |
parseQueryString(Map<String,String> map,
String qs) |
void |
parseRequestParameters(Map<String,String> params,
Map<String,FileItem> files) |
void |
setAuthorization(Auth auth) |
static BeanCookie |
toBeanCookie(org.glassfish.grizzly.http.Cookie c) |
getAcceptEncodingHeader, getAcceptHeader, getAcceptLanguage, getAttributes, getContentLengthHeader, getContentRangeHeader, getContentTypeHeader, getDepthHeader, getDestinationHeader, getExpectHeader, getFiles, getIfHeader, getIfMatchHeader, getIfModifiedHeader, getIfNoneMatchHeader, getIfRangeHeader, getLocale, getLockTokenHeader, getOriginHeader, getOverwriteHeader, getParams, getRangeHeader, getRefererHeader, getTimeoutHeader, getUserAgentHeader, stripToPathpublic GrizzlyMiltonRequest(org.glassfish.grizzly.http.server.Request wrapped)
public static BeanCookie toBeanCookie(org.glassfish.grizzly.http.Cookie c)
public String getHostHeader()
getHostHeader in interface RequestgetHostHeader in class AbstractRequestpublic String getRequestHeader(Request.Header header)
getRequestHeader in interface RequestgetRequestHeader in class AbstractRequestpublic String getFromAddress()
public Request.Method getMethod()
public Auth getAuthorization()
public void setAuthorization(Auth auth)
public String getAbsoluteUrl()
public String getAbsolutePath()
getAbsolutePath in interface RequestgetAbsolutePath in class AbstractRequestpublic InputStream getInputStream() throws IOException
IOExceptionpublic void parseRequestParameters(Map<String,String> params, Map<String,FileItem> files) throws RequestParseException
RequestParseExceptionpublic String getRemoteAddr()
protected boolean isMultiPart()
protected boolean isMultiPartMixed()
protected Response.ContentType getRequestContentType()
Copyright © 2021 McEvoy Software Ltd. All rights reserved.