public class RemoteHttpServletRequest extends RemoteServletRequest implements javax.servlet.http.HttpServletRequest, Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
debug, request, SERIALIZABLE_INT
Constructor and Description |
---|
RemoteHttpServletRequest()
Called during deserialization.
|
RemoteHttpServletRequest(javax.servlet.http.HttpServletRequest request)
Creates a serializable request around the normal request.
|
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(javax.servlet.http.HttpServletResponse response) |
String |
changeSessionId() |
String |
getAuthType()
The default behavior of this method is to return getAuthType()
on the wrapped request object.
|
String |
getContextPath()
The default behavior of this method is to return getContextPath()
on the wrapped request object.
|
javax.servlet.http.Cookie[] |
getCookies()
The default behavior of this method is to return getCookies()
on the wrapped request object.
|
long |
getDateHeader(String name)
The default behavior of this method is to return getDateHeader(String name)
on the wrapped request object.
|
String |
getHeader(String name)
The default behavior of this method is to return getHeader(String name)
on the wrapped request object.
|
Enumeration<String> |
getHeaderNames()
The default behavior of this method is to return getHeaderNames()
on the wrapped request object.
|
Enumeration<String> |
getHeaders(String name)
The default behavior of this method is to return getHeaders(String name)
on the wrapped request object.
|
int |
getIntHeader(String name)
The default behavior of this method is to return getIntHeader(String name)
on the wrapped request object.
|
String |
getMethod()
The default behavior of this method is to return getMethod()
on the wrapped request object.
|
javax.servlet.http.Part |
getPart(String name) |
Collection<javax.servlet.http.Part> |
getParts() |
String |
getPathInfo()
The default behavior of this method is to return getPathInfo()
on the wrapped request object.
|
String |
getPathTranslated()
The default behavior of this method is to return getPathTranslated()
on the wrapped request object.
|
String |
getQueryString()
The default behavior of this method is to return getQueryString()
on the wrapped request object.
|
String |
getRemoteUser()
The default behavior of this method is to return getRemoteUser()
on the wrapped request object.
|
String |
getRequestedSessionId()
The default behavior of this method is to return getRequestedSessionId()
on the wrapped request object.
|
String |
getRequestURI()
The default behavior of this method is to return getRequestURI()
on the wrapped request object.
|
StringBuffer |
getRequestURL()
The default behavior of this method is to return getRequestURL()
on the wrapped request object.
|
String |
getServletPath()
The default behavior of this method is to return getServletPath()
on the wrapped request object.
|
javax.servlet.http.HttpSession |
getSession()
The default behavior of this method is to return getSession()
on the wrapped request object.
|
javax.servlet.http.HttpSession |
getSession(boolean create)
The default behavior of this method is to return getSession(boolean create)
on the wrapped request object.
|
Principal |
getUserPrincipal()
The default behavior of this method is to return getUserPrincipal()
on the wrapped request object.
|
boolean |
isRequestedSessionIdFromCookie()
The default behavior of this method is to return isRequestedSessionIdFromCookie()
on the wrapped request object.
|
boolean |
isRequestedSessionIdFromUrl()
The default behavior of this method is to return isRequestedSessionIdFromUrl()
on the wrapped request object.
|
boolean |
isRequestedSessionIdFromURL()
The default behavior of this method is to return isRequestedSessionIdFromURL()
on the wrapped request object.
|
boolean |
isRequestedSessionIdValid()
The default behavior of this method is to return isRequestedSessionIdValid()
on the wrapped request object.
|
boolean |
isUserInRole(String role)
The default behavior of this method is to return isUserInRole(String role)
on the wrapped request object.
|
void |
login(String username,
String password) |
void |
logout() |
<T extends javax.servlet.http.HttpUpgradeHandler> |
upgrade(Class<T> handlerClass) |
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isSerializable, processRequest, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
public static final long serialVersionUID
public RemoteHttpServletRequest()
public RemoteHttpServletRequest(javax.servlet.http.HttpServletRequest request)
request
- The request to encapsulate.public String getAuthType()
getAuthType
in interface javax.servlet.http.HttpServletRequest
public javax.servlet.http.Cookie[] getCookies()
getCookies
in interface javax.servlet.http.HttpServletRequest
public long getDateHeader(String name)
getDateHeader
in interface javax.servlet.http.HttpServletRequest
public String getHeader(String name)
getHeader
in interface javax.servlet.http.HttpServletRequest
public Enumeration<String> getHeaders(String name)
getHeaders
in interface javax.servlet.http.HttpServletRequest
public Enumeration<String> getHeaderNames()
getHeaderNames
in interface javax.servlet.http.HttpServletRequest
public int getIntHeader(String name)
getIntHeader
in interface javax.servlet.http.HttpServletRequest
NumberFormatException
- if the header cannot be expressed as an intpublic String getMethod()
getMethod
in interface javax.servlet.http.HttpServletRequest
public String getPathInfo()
getPathInfo
in interface javax.servlet.http.HttpServletRequest
public String getPathTranslated()
getPathTranslated
in interface javax.servlet.http.HttpServletRequest
public String getContextPath()
getContextPath
in interface javax.servlet.http.HttpServletRequest
public String getQueryString()
getQueryString
in interface javax.servlet.http.HttpServletRequest
public String getRemoteUser()
getRemoteUser
in interface javax.servlet.http.HttpServletRequest
public boolean isUserInRole(String role)
isUserInRole
in interface javax.servlet.http.HttpServletRequest
public Principal getUserPrincipal()
getUserPrincipal
in interface javax.servlet.http.HttpServletRequest
public String getRequestedSessionId()
getRequestedSessionId
in interface javax.servlet.http.HttpServletRequest
public String getRequestURI()
getRequestURI
in interface javax.servlet.http.HttpServletRequest
public StringBuffer getRequestURL()
getRequestURL
in interface javax.servlet.http.HttpServletRequest
public String getServletPath()
getServletPath
in interface javax.servlet.http.HttpServletRequest
public javax.servlet.http.HttpSession getSession(boolean create)
getSession
in interface javax.servlet.http.HttpServletRequest
public javax.servlet.http.HttpSession getSession()
getSession
in interface javax.servlet.http.HttpServletRequest
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface javax.servlet.http.HttpServletRequest
public boolean isRequestedSessionIdFromCookie()
isRequestedSessionIdFromCookie
in interface javax.servlet.http.HttpServletRequest
public boolean isRequestedSessionIdFromURL()
isRequestedSessionIdFromURL
in interface javax.servlet.http.HttpServletRequest
public boolean isRequestedSessionIdFromUrl()
isRequestedSessionIdFromUrl
in interface javax.servlet.http.HttpServletRequest
public boolean authenticate(javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
authenticate
in interface javax.servlet.http.HttpServletRequest
IOException
javax.servlet.ServletException
public void login(String username, String password) throws javax.servlet.ServletException
login
in interface javax.servlet.http.HttpServletRequest
javax.servlet.ServletException
public void logout() throws javax.servlet.ServletException
logout
in interface javax.servlet.http.HttpServletRequest
javax.servlet.ServletException
public Collection<javax.servlet.http.Part> getParts() throws IOException, javax.servlet.ServletException
getParts
in interface javax.servlet.http.HttpServletRequest
IOException
javax.servlet.ServletException
public javax.servlet.http.Part getPart(String name) throws IOException, javax.servlet.ServletException
getPart
in interface javax.servlet.http.HttpServletRequest
IOException
javax.servlet.ServletException
public String changeSessionId()
changeSessionId
in interface javax.servlet.http.HttpServletRequest
public <T extends javax.servlet.http.HttpUpgradeHandler> T upgrade(Class<T> handlerClass) throws IOException, javax.servlet.ServletException
upgrade
in interface javax.servlet.http.HttpServletRequest
IOException
javax.servlet.ServletException
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.