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.AwsHttpServletRequest.HeaderValuecontainerHandler, requestInputStream, response| Constructor and Description |
|---|
AwsProxyHttpServletRequest(AwsProxyRequest awsProxyRequest,
com.amazonaws.services.lambda.runtime.Context lambdaContext,
javax.ws.rs.core.SecurityContext awsSecurityContext) |
AwsProxyHttpServletRequest(AwsProxyRequest awsProxyRequest,
com.amazonaws.services.lambda.runtime.Context lambdaContext,
javax.ws.rs.core.SecurityContext awsSecurityContext,
ContainerConfig config) |
appendCharacterEncoding, bodyStringToInputStream, changeSessionId, generateContextPath, generateParameterMap, generateQueryString, generateRequestURL, getAttribute, getAttributeNames, getDispatcherType, getFirstQueryParamValue, getFormBodyParameterCaseInsensitive, getFormUrlEncodedParametersMap, getLocalAddr, getLocalName, getLocalPort, getMultipartFormParametersMap, getQueryParamValues, getRequestedSessionId, getResponse, getSchemeFromHeader, getServletContext, getServletPath, getSession, getSession, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, parseCharacterEncoding, parseCookieHeaderValue, parseHeaderValue, parseHeaderValue, removeAttribute, setAttribute, setContainerHandler, setResponse, setServletContextpublic AwsProxyHttpServletRequest(AwsProxyRequest awsProxyRequest, com.amazonaws.services.lambda.runtime.Context lambdaContext, javax.ws.rs.core.SecurityContext awsSecurityContext)
public AwsProxyHttpServletRequest(AwsProxyRequest awsProxyRequest, com.amazonaws.services.lambda.runtime.Context lambdaContext, javax.ws.rs.core.SecurityContext awsSecurityContext, ContainerConfig config)
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 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 Enumeration<String> getParameterNames()
public String getProtocol()
public String getScheme()
public String getServerName()
getServerName in interface javax.servlet.ServletRequestgetServerName in class AwsHttpServletRequestpublic int getServerPort()
getServerPort in interface javax.servlet.ServletRequestgetServerPort in class AwsHttpServletRequestpublic javax.servlet.ServletInputStream getInputStream()
throws IOException
IOExceptionpublic 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 boolean isAsyncSupported()
isAsyncSupported in interface javax.servlet.ServletRequestisAsyncSupported in class AwsHttpServletRequestpublic boolean isAsyncStarted()
isAsyncStarted in interface javax.servlet.ServletRequestisAsyncStarted in class AwsHttpServletRequestpublic javax.servlet.AsyncContext startAsync()
throws IllegalStateException
IllegalStateExceptionpublic javax.servlet.AsyncContext startAsync(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse)
throws IllegalStateException
IllegalStateExceptionpublic javax.servlet.AsyncContext getAsyncContext()
Copyright © 2022. All rights reserved.