public class ForwardNamedRequest extends CauchoDispatchRequest
AbstractCauchoRequest.PartImpl
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
Constructor and Description |
---|
ForwardNamedRequest() |
ForwardNamedRequest(HttpServletRequest request,
HttpServletResponse response,
Invocation invocation) |
Modifier and Type | Method and Description |
---|---|
DispatcherType |
getDispatcherType()
Returns DispatcherType
|
protected Invocation |
getInvocation() |
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.
|
com.caucho.server.webapp.ForwardNamedResponse |
getResponse() |
ServletContext |
getServletContext()
Returns the servlet context for the request
|
java.lang.String |
getServletName() |
HttpSession |
getSession()
Returns the current session, creating one if necessary.
|
HttpSession |
getSession(boolean isNew)
Returns the current session.
|
WebApp |
getWebApp() |
boolean |
isAsyncSupported()
Returns true if the request supports async
|
AsyncContext |
startAsync()
Starts an async/comet mode
|
protected void |
startRequest()
Starts the request
|
getAbstractHttpRequest, getAsyncContext, getAttribute, getAttributeNames, getAuthType, getCauchoRequest, getCharacterEncoding, getContentLength, getContentType, getContextPath, getCookie, getCookies, getDateHeader, getHasCookie, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMemorySession, getMethod, getPageContextPath, getPagePathInfo, getPageQueryString, getPageServletPath, getPageURI, getPathInfo, getProtocol, getQueryString, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequest, getRequestDepth, getRequestedSessionId, getRequestURI, getScheme, getServerName, getServerPort, getServletPath, getServletResponse, getSessionId, getStream, getVaryCookies, hasRequest, isAsyncStarted, isComet, isConnectionClosed, isDelegateMultipartEnabled, isDuplex, isLoginRequested, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isSecure, isSessionIdFromCookie, isSuspend, isSyntheticCacheHeader, isTop, isWrapperFor, isWrapperFor, killKeepalive, logout, removeAttribute, requestLogin, setAttribute, setCharacterEncoding, setHasCookie, setHeader, setRequest, setResponse, setSessionId, setSyntheticCacheHeader, setVaryCookie, startAsync, toString
addCloseOnExit, authenticate, finishRequest, getLoadedSession, getParameterImpl, getParameterMapImpl, getParameterNamesImpl, getParameterValuesImpl, getPart, getParts, getPathTranslated, getRealPath, getRequestDispatcher, getRequestURL, getRunAs, getServer, getSessionCookie, getSessionGroup, getSessionManager, getSocketLink, getStream, getUserPrincipal, isMultipartEnabled, isRequestedSessionIdValid, isUserInRole, login, login, mergeParameters, parseGetQueryImpl, parsePostQueryImpl, parseQueryImpl
public ForwardNamedRequest()
public ForwardNamedRequest(HttpServletRequest request, HttpServletResponse response, Invocation invocation)
protected Invocation getInvocation()
getInvocation
in class AbstractCauchoRequest
protected void startRequest()
startRequest
in class AbstractCauchoRequest
public com.caucho.server.webapp.ForwardNamedResponse 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 HttpSession getSession()
AbstractCauchoRequest
getSession
in interface HttpServletRequest
getSession
in class AbstractCauchoRequest
public HttpSession getSession(boolean isNew)
AbstractCauchoRequest
getSession
in interface HttpServletRequest
getSession
in class AbstractCauchoRequest
isNew
- true if a new session should be createdpublic java.lang.String getParameter(java.lang.String name)
AbstractCauchoRequest
getParameter
in interface ServletRequest
getParameter
in class AbstractCauchoRequest
name
- the form parameter to returnpublic java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
AbstractCauchoRequest
getParameterMap
in interface ServletRequest
getParameterMap
in class AbstractCauchoRequest
public java.lang.String[] getParameterValues(java.lang.String name)
AbstractCauchoRequest
getParameterValues
in interface ServletRequest
getParameterValues
in class AbstractCauchoRequest
name
- key in the formpublic java.util.Enumeration<java.lang.String> getParameterNames()
AbstractCauchoRequest
getParameterNames
in interface ServletRequest
getParameterNames
in class AbstractCauchoRequest
public WebApp getWebApp()
getWebApp
in interface CauchoRequest
getWebApp
in class CauchoDispatchRequest
public boolean isAsyncSupported()
ServletRequest
isAsyncSupported
in interface ServletRequest
isAsyncSupported
in class CauchoDispatchRequest
public AsyncContext startAsync() throws java.lang.IllegalStateException
ServletRequest
startAsync
in interface ServletRequest
startAsync
in class CauchoDispatchRequest
java.lang.IllegalStateException
public java.lang.String getServletName()