public class AwsHttpApiV2ProxyHttpServletRequest extends AwsHttpServletRequest
AwsHttpServletRequest.HeaderValuecontainerHandler, requestInputStream, response| Constructor and Description |
|---|
AwsHttpApiV2ProxyHttpServletRequest(HttpApiV2ProxyRequest req,
com.amazonaws.services.lambda.runtime.Context lambdaContext,
javax.ws.rs.core.SecurityContext sc,
ContainerConfig cfg)
Protected constructors for implementing classes.
|
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 AwsHttpApiV2ProxyHttpServletRequest(HttpApiV2ProxyRequest req, com.amazonaws.services.lambda.runtime.Context lambdaContext, javax.ws.rs.core.SecurityContext sc, ContainerConfig cfg)
lambdaContext - The Lambda function context. This object is used for utility methods such as logpublic HttpApiV2ProxyRequest getRequest()
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)
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.