public class AwsProxyHttpServletRequest extends AwsHttpServletRequest
HttpServletRequest interface that supports AwsProxyRequest object.
This object is initialized with an AwsProxyRequest event and a SecurityContext generated
by an implementation of the SecurityContextWriter.dispatcherType| Constructor and Description |
|---|
AwsProxyHttpServletRequest(AwsProxyRequest awsProxyRequest,
com.amazonaws.services.lambda.runtime.Context lambdaContext,
javax.ws.rs.core.SecurityContext awsSecurityContext) |
changeSessionId, generateQueryString, getAsyncContext, getAttribute, getAttributeNames, getDispatcherType, getLocalAddr, getLocalName, getLocalPort, getRequestedSessionId, getServerPort, getServletContext, getSession, getSession, isAsyncStarted, isAsyncSupported, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, parseCookieHeaderValue, parseHeaderValue, removeAttribute, setAttribute, setDispatcherType, setServletContextpublic AwsProxyHttpServletRequest(AwsProxyRequest awsProxyRequest, com.amazonaws.services.lambda.runtime.Context lambdaContext, javax.ws.rs.core.SecurityContext awsSecurityContext)
public AwsProxyRequest getAwsProxyRequest()
public String getAuthType()
public javax.servlet.http.Cookie[] getCookies()
public long getDateHeader(String s)
public Enumeration<String> getHeaders(String s)
public Enumeration<String> getHeaderNames()
public int getIntHeader(String s)
public String getMethod()
public String getPathInfo()
public String getPathTranslated()
public String getContextPath()
public String getQueryString()
public String getRemoteUser()
public boolean isUserInRole(String s)
public Principal getUserPrincipal()
public String getRequestURI()
public StringBuffer getRequestURL()
public String getServletPath()
public boolean authenticate(javax.servlet.http.HttpServletResponse httpServletResponse)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic void login(String s, String s1) throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic void logout()
throws javax.servlet.ServletException
javax.servlet.ServletExceptionpublic Collection<javax.servlet.http.Part> getParts() throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic javax.servlet.http.Part getPart(String s) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic <T extends javax.servlet.http.HttpUpgradeHandler> T upgrade(Class<T> aClass) throws IOException, javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic String getCharacterEncoding()
public void setCharacterEncoding(String s) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic int getContentLength()
public long getContentLengthLong()
public String getContentType()
public javax.servlet.ServletInputStream getInputStream()
throws IOException
IOExceptionpublic Enumeration<String> getParameterNames()
public String getProtocol()
public String getScheme()
public String getServerName()
getServerName in interface javax.servlet.ServletRequestgetServerName in class AwsHttpServletRequestpublic BufferedReader getReader() throws IOException
IOExceptionpublic String getRemoteAddr()
public String getRemoteHost()
public Locale getLocale()
public Enumeration<Locale> getLocales()
public boolean isSecure()
public javax.servlet.RequestDispatcher getRequestDispatcher(String s)
@Deprecated public String getRealPath(String s)
public int getRemotePort()
public javax.servlet.AsyncContext startAsync()
throws IllegalStateException
IllegalStateExceptionpublic javax.servlet.AsyncContext startAsync(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
throws IllegalStateException
IllegalStateExceptionCopyright © 2017. All Rights Reserved.