public class RequestContext extends Object
| Constructor and Description |
|---|
RequestContext(HTTPMethod httpMethod,
javax.servlet.http.HttpServletRequest request) |
RequestContext(HTTPMethod httpMethod,
javax.servlet.http.HttpServletRequest request,
boolean unmarshallJson) |
public RequestContext(HTTPMethod httpMethod, javax.servlet.http.HttpServletRequest request)
public RequestContext(HTTPMethod httpMethod, javax.servlet.http.HttpServletRequest request, boolean unmarshallJson)
public String getContentType()
public String getQueryString()
public String getProto()
public int getPort()
public final void setHttpMethod(HTTPMethod httpMethod)
public final HTTPMethod getHttpMethod()
public final int getContentLength()
public final String getParameter(String key)
public final String getPath()
public final void setPath(String path)
public String getOriginalPath()
public final void setRemoteAddress(String remoteAddress)
public final String getRemoteAddress()
public final void setRemoteUser(String remoteUser)
public final String getRemoteUser()
public final String getRequestId()
public boolean isGZipAccepted()
public InputStream getRequestStream()
public javax.servlet.http.HttpSession getSession()
public com.fasterxml.jackson.databind.JsonNode getJsonContent()
public javax.servlet.http.Cookie getSessionCookie()
public void setSessionCookie(javax.servlet.http.Cookie sessionCookie)
public javax.servlet.http.Cookie[] getCookies()
Copyright © 2017. All rights reserved.