@Module public class IncludeRequest extends CauchoDispatchRequest
AbstractCauchoRequest.PartImpl
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
IncludeRequest() |
IncludeRequest(HttpServletRequest request,
HttpServletResponse response,
Invocation invocation) |
Modifier and Type | Method and Description |
---|---|
protected void |
finishRequest() |
java.lang.Object |
getAttribute(java.lang.String name)
Returns an attribute value.
|
java.util.Enumeration<java.lang.String> |
getAttributeNames()
Enumerates all attribute names in the request.
|
java.lang.String |
getContextPath()
Returns the URL for the request
|
DispatcherType |
getDispatcherType()
Returns DispatcherType
|
java.lang.String |
getHeader(java.lang.String name)
Returns the first value for a request header.
|
java.util.Enumeration<java.lang.String> |
getHeaderNames()
Returns an enumeration of all headers sent by the client.
|
java.util.Enumeration<java.lang.String> |
getHeaders(java.lang.String name)
Returns all the values for a request header.
|
protected Invocation |
getInvocation() |
java.lang.String |
getMethod()
Returns the HTTP method, e.g.
|
java.lang.String |
getPageContextPath() |
java.lang.String |
getPagePathInfo() |
java.lang.String |
getPageQueryString() |
java.lang.String |
getPageServletPath() |
java.lang.String |
getPageURI() |
java.lang.String |
getParameter(java.lang.String name)
Returns the form primary value for the given name.
|
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap()
Returns a map of the form.
|
java.util.Enumeration<java.lang.String> |
getParameterNames()
Returns an enumeration of the form names.
|
java.lang.String[] |
getParameterValues(java.lang.String name)
Returns the form's values for the given name.
|
IncludeResponse |
getResponse() |
ServletContext |
getServletContext()
Returns the servlet context for the request
|
WebApp |
getWebApp() |
boolean |
isSyntheticCacheHeader() |
protected void |
parseGetQueryImpl(HashMapImpl<java.lang.String,java.lang.String[]> form) |
protected void |
parsePostQueryImpl(HashMapImpl<java.lang.String,java.lang.String[]> form) |
void |
setHeader(java.lang.String name,
java.lang.String value) |
protected void |
startRequest()
Starts the request
|
getAbstractHttpRequest, getAsyncContext, getAuthType, getCauchoRequest, getCharacterEncoding, getContentLength, getContentType, getCookie, getCookies, getDateHeader, getHasCookie, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMemorySession, getPathInfo, getProtocol, getQueryString, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequest, getRequestDepth, getRequestedSessionId, getRequestURI, getScheme, getServerName, getServerPort, getServletPath, getServletResponse, getSessionId, getStream, getVaryCookies, hasRequest, isAsyncStarted, isAsyncSupported, isComet, isConnectionClosed, isDelegateMultipartEnabled, isDuplex, isLoginRequested, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isSecure, isSessionIdFromCookie, isSuspend, isTop, isWrapperFor, isWrapperFor, killKeepalive, logout, removeAttribute, requestLogin, setAttribute, setCharacterEncoding, setHasCookie, setRequest, setResponse, setSessionId, setSyntheticCacheHeader, setVaryCookie, startAsync, startAsync, toString
addCloseOnExit, authenticate, getLoadedSession, getParameterImpl, getParameterMapImpl, getParameterNamesImpl, getParameterValuesImpl, getPart, getParts, getPathTranslated, getRealPath, getRequestDispatcher, getRequestURL, getRunAs, getServer, getSession, getSession, getSessionCookie, getSessionGroup, getSessionManager, getSocketLink, getStream, getUserPrincipal, isMultipartEnabled, isRequestedSessionIdValid, isUserInRole, login, login, mergeParameters, parseQueryImpl
public IncludeRequest()
public IncludeRequest(HttpServletRequest request, HttpServletResponse response, Invocation invocation)
protected Invocation getInvocation()
getInvocation
in class AbstractCauchoRequest
public IncludeResponse getResponse()
getResponse
in class CauchoDispatchRequest
public ServletContext getServletContext()
ServletRequest
getServletContext
in interface ServletRequest
getServletContext
in class CauchoDispatchRequest
public DispatcherType getDispatcherType()
ServletRequest
getDispatcherType
in interface ServletRequest
getDispatcherType
in class CauchoDispatchRequest
public java.lang.String getPageURI()
getPageURI
in interface CauchoRequest
getPageURI
in class CauchoDispatchRequest
public java.lang.String getContextPath()
CauchoDispatchRequest
getContextPath
in interface HttpServletRequest
getContextPath
in class CauchoDispatchRequest
public java.lang.String getPageContextPath()
getPageContextPath
in interface CauchoRequest
getPageContextPath
in class CauchoDispatchRequest
public java.lang.String getPageServletPath()
getPageServletPath
in interface CauchoRequest
getPageServletPath
in class CauchoDispatchRequest
public java.lang.String getPagePathInfo()
getPagePathInfo
in interface CauchoRequest
getPagePathInfo
in class CauchoDispatchRequest
public java.lang.String getPageQueryString()
getPageQueryString
in interface CauchoRequest
getPageQueryString
in class CauchoDispatchRequest
public java.lang.String getMethod()
HttpServletRequest
REQUEST_METHOD
getMethod
in interface HttpServletRequest
getMethod
in class CauchoDispatchRequest
public WebApp getWebApp()
getWebApp
in interface CauchoRequest
getWebApp
in class CauchoDispatchRequest
public boolean isSyntheticCacheHeader()
isSyntheticCacheHeader
in interface CauchoRequest
isSyntheticCacheHeader
in class CauchoDispatchRequest
public void setHeader(java.lang.String name, java.lang.String value)
setHeader
in interface CauchoRequest
setHeader
in class CauchoDispatchRequest
public java.lang.String getHeader(java.lang.String name)
HttpServletRequest
HTTP_*
String userAgent = request.getHeader("User-Agent");
getHeader
in interface HttpServletRequest
getHeader
in class CauchoDispatchRequest
name
- the header namepublic java.util.Enumeration<java.lang.String> getHeaders(java.lang.String name)
HttpServletRequest
getHeaders
in interface HttpServletRequest
getHeaders
in class CauchoDispatchRequest
name
- the header namepublic java.util.Enumeration<java.lang.String> getHeaderNames()
HttpServletRequest
getHeaderNames
in interface HttpServletRequest
getHeaderNames
in class CauchoDispatchRequest
public java.util.Enumeration<java.lang.String> getParameterNames()
getParameterNames
in interface ServletRequest
getParameterNames
in class AbstractCauchoRequest
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap
in interface ServletRequest
getParameterMap
in class AbstractCauchoRequest
public java.lang.String[] getParameterValues(java.lang.String name)
getParameterValues
in interface ServletRequest
getParameterValues
in class AbstractCauchoRequest
name
- key in the formpublic java.lang.String getParameter(java.lang.String name)
getParameter
in interface ServletRequest
getParameter
in class AbstractCauchoRequest
name
- the form parameter to returnprotected void parseGetQueryImpl(HashMapImpl<java.lang.String,java.lang.String[]> form)
parseGetQueryImpl
in class AbstractCauchoRequest
protected void parsePostQueryImpl(HashMapImpl<java.lang.String,java.lang.String[]> form)
parsePostQueryImpl
in class AbstractCauchoRequest
public java.lang.Object getAttribute(java.lang.String name)
ServletRequest
getAttribute
in interface ServletRequest
getAttribute
in class CauchoDispatchRequest
name
- the attribute namepublic java.util.Enumeration<java.lang.String> getAttributeNames()
ServletRequest
getAttributeNames
in interface ServletRequest
getAttributeNames
in class CauchoDispatchRequest
protected void startRequest()
startRequest
in class AbstractCauchoRequest
protected void finishRequest() throws java.io.IOException
finishRequest
in class AbstractCauchoRequest
java.io.IOException