com.caucho.server.http
Class CauchoRequestWrapper

java.lang.Object
  extended by com.caucho.server.http.AbstractCauchoRequest
      extended by com.caucho.server.http.CauchoRequestWrapper
All Implemented Interfaces:
CauchoRequest, HttpServletRequest, ServletRequest
Direct Known Subclasses:
AsyncRequest, AsyncRequest, ForwardRequest, IncludeRequest, ProxyCacheRequest

public class CauchoRequestWrapper
extends AbstractCauchoRequest


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.server.http.AbstractCauchoRequest
AbstractCauchoRequest.PartImpl
 
Field Summary
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
CauchoRequestWrapper()
           
CauchoRequestWrapper(HttpServletRequest request)
           
 
Method Summary
 AbstractHttpRequest getAbstractHttpRequest()
           
 AsyncContext getAsyncContext()
          Returns the async context for the request
 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 getAuthType()
          Returns the auth type, i.e.
 java.lang.String getCharacterEncoding()
          Returns the character encoding of the POSTed data.
 int getContentLength()
          Returns the content length of the data.
 java.lang.String getContentType()
          Returns the request's mime-type.
 java.lang.String getContextPath()
          Returns the part of the URI corresponding to the application's prefix.
 Cookie getCookie(java.lang.String name)
           
 Cookie[] getCookies()
          Returns an array of all cookies sent by the client.
 long getDateHeader(java.lang.String name)
          Converts a date header to milliseconds since the epoch.
 DispatcherType getDispatcherType()
          Returns DispatcherType
 boolean getHasCookie()
           
 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.
 ServletInputStream getInputStream()
          Returns an InputStream to retrieve POST data from the request.
 int getIntHeader(java.lang.String name)
          Converts a header value to an integer.
 java.lang.String getLocalAddr()
          This call returns the ip of the host actually used to connect to the Resin server, which means that if ipchains, load balancing, or proxying is involved this call does not return the correct host for forming urls.
 java.util.Locale getLocale()
          Returns the request's preferred locale, based on the Accept-Language header.
 java.util.Enumeration<java.util.Locale> getLocales()
          Returns an enumeration of all locales acceptable by the client.
 java.lang.String getLocalName()
          Returns the IP address of the local host, i.e.
 int getLocalPort()
          Returns the port of the local host.
 HttpSession getMemorySession()
          Returns the memory session.
 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.
 Part getPart(java.lang.String name)
           
 java.util.Collection<Part> getParts()
           
 java.lang.String getPathInfo()
          Returns the URI part after the selected servlet and null if there is no suffix.
 java.lang.String getPathTranslated()
          Returns the real path of pathInfo.
 java.lang.String getProtocol()
          Returns the prococol, e.g.
 java.lang.String getQueryString()
          Returns the request's query string.
 java.io.BufferedReader getReader()
          Returns a reader to read POSTed data.
 java.lang.String getRemoteAddr()
          Returns the IP address of the remote host, i.e.
 java.lang.String getRemoteHost()
          Returns the DNS hostname of the remote host, i.e.
 int getRemotePort()
          Returns the port of the remote host, i.e.
 java.lang.String getRemoteUser()
          Returns the remote user if authenticated.
 HttpServletRequest getRequest()
          Returns the next request in a chain.
 int getRequestDepth(int depth)
           
 RequestDispatcher getRequestDispatcher(java.lang.String path)
          Returns a request dispatcher for later inclusion or forwarding.
 java.lang.String getRequestedSessionId()
          Returns the session id.
 java.lang.String getRequestURI()
          Returns the entire request URI
 java.lang.StringBuffer getRequestURL()
          Returns the URL for the request
 CauchoResponse getResponse()
           
 java.lang.String getScheme()
          Returns the request scheme, e.g.
 java.lang.String getServerName()
          Returns the server name handling the request.
 int getServerPort()
          Returns the server port used by the client, e.g.
 ServletContext getServletContext()
          Returns the servlet context for the request
 java.lang.String getServletPath()
          Returns the URI part corresponding to the selected servlet.
 ServletResponse getServletResponse()
           
 java.lang.String getSessionId()
           
 ReadStream getStream()
           
 boolean getVaryCookies()
           
 WebApp getWebApp()
           
 boolean hasRequest()
           
 boolean isAsyncStarted()
          Returns true if the request is in async.
 boolean isAsyncSupported()
          Returns true if the request supports async
 boolean isComet()
           
 boolean isConnectionClosed()
           
protected  boolean isDelegateMultipartEnabled()
           
 boolean isDuplex()
           
 boolean isLoginRequested()
          Returns true if any authentication is requested
 boolean isMultipartEnabled()
           
 boolean isRequestedSessionIdFromCookie()
          Returns true if the session came from a cookie.
 boolean isRequestedSessionIdFromUrl()
           
 boolean isRequestedSessionIdFromURL()
          Returns true if the session came URL-encoding.
 boolean isRequestedSessionIdValid()
          Returns true if the HTTP request's session id refers to a valid session.
 boolean isSecure()
          Returns true if the connection is secure, e.g.
 boolean isSessionIdFromCookie()
           
 boolean isSuspend()
           
 boolean isSyntheticCacheHeader()
           
 boolean isTop()
           
 boolean isWrapperFor(java.lang.Class<?> wrappedType)
           
 boolean isWrapperFor(ServletRequest wrapped)
           
 void killKeepalive(java.lang.String reason)
           
 void logout()
           
 void removeAttribute(java.lang.String name)
          Removes the given attribute.
 void requestLogin()
           
 void setAttribute(java.lang.String name, java.lang.Object o)
          Sets an attribute value.
 void setCharacterEncoding(java.lang.String encoding)
          Overrides the character encoding specified in the request.
 void setHasCookie()
           
 void setHeader(java.lang.String key, java.lang.String value)
           
 void setRequest(HttpServletRequest request)
           
 void setResponse(CauchoResponse response)
           
 void setSessionId(java.lang.String sessionId)
           
 void setSyntheticCacheHeader(boolean isSynthetic)
           
 void setVaryCookie(java.lang.String cookie)
           
 AsyncContext startAsync()
          Starts an async/comet mode
 AsyncContext startAsync(ServletRequest servletRequest, ServletResponse servletResponse)
          Starts an async mode
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.server.http.AbstractCauchoRequest
addCloseOnExit, authenticate, finishRequest, getInvocation, getLoadedSession, getParameterImpl, getParameterMapImpl, getParameterNamesImpl, getParameterValuesImpl, getRealPath, getRunAs, getServer, getSession, getSession, getSessionCookie, getSessionGroup, getSessionManager, getSocketLink, getStream, getUserPrincipal, isUserInRole, login, login, mergeParameters, parseGetQueryImpl, parsePostQueryImpl, parseQueryImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CauchoRequestWrapper

public CauchoRequestWrapper()

CauchoRequestWrapper

public CauchoRequestWrapper(HttpServletRequest request)
Method Detail

setRequest

public void setRequest(HttpServletRequest request)

getRequest

public HttpServletRequest getRequest()
Description copied from class: AbstractCauchoRequest
Returns the next request in a chain.

Overrides:
getRequest in class AbstractCauchoRequest

setResponse

public void setResponse(CauchoResponse response)

getResponse

public CauchoResponse getResponse()
Specified by:
getResponse in class AbstractCauchoRequest

getProtocol

public java.lang.String getProtocol()
Description copied from interface: ServletRequest
Returns the prococol, e.g. "HTTP/1.1"


getScheme

public java.lang.String getScheme()
Description copied from interface: ServletRequest
Returns the request scheme, e.g. "http"


getServerName

public java.lang.String getServerName()
Description copied from interface: ServletRequest
Returns the server name handling the request. When using virtual hosts, this returns the virtual host name, e.g. "vhost1.caucho.com". This call returns the host name as the client sees it, which means that if ipchains, load balancing, or proxying is involved this call returns the correct call for forming urls, but may not contain the host that Resin is actually listening on.


getServerPort

public int getServerPort()
Description copied from interface: ServletRequest
Returns the server port used by the client, e.g. 80. This call returns the port number as the client sees it, which means that if ipchains, load balancing, or proxying is involved this call returns the correct call for forming urls, but may not return the actual port that Resin is listening on. This call should not be used to test for an ssl connection (getServerPort() == 443), ServletRequest.isSecure() is provided for that purpose.


getRemoteAddr

public java.lang.String getRemoteAddr()
Description copied from interface: ServletRequest
Returns the IP address of the remote host, i.e. the client browser.


getRemoteHost

public java.lang.String getRemoteHost()
Description copied from interface: ServletRequest
Returns the DNS hostname of the remote host, i.e. the client browser.


getRemotePort

public int getRemotePort()
Description copied from interface: ServletRequest
Returns the port of the remote host, i.e. the client browser.


getLocalAddr

public java.lang.String getLocalAddr()
Description copied from interface: ServletRequest
This call returns the ip of the host actually used to connect to the Resin server, which means that if ipchains, load balancing, or proxying is involved this call does not return the correct host for forming urls.


getLocalName

public java.lang.String getLocalName()
Description copied from interface: ServletRequest
Returns the IP address of the local host, i.e. the server. This call returns the name of the host actaully used to connect to the Resin server, which means that if ipchains, load balancing, or proxying is involved this call does not return the correct host for forming urls.


getLocalPort

public int getLocalPort()
Description copied from interface: ServletRequest
Returns the port of the local host. This call returns the port number actually used to connect to the Resin server, which means that if ipchains, load balancing, or proxying is involved this call does not return the correct port for forming urls. This call should not be used to test for an ssl connection (getServerPort() == 443), ServletRequest.isSecure() is provided for that purpose.


getParameter

public java.lang.String getParameter(java.lang.String name)
Description copied from class: AbstractCauchoRequest
Returns the form primary value for the given name.

Specified by:
getParameter in interface ServletRequest
Overrides:
getParameter in class AbstractCauchoRequest
Parameters:
name - the form parameter to return
Returns:
the form value or null if none matches.

getParameterMap

public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
Description copied from class: AbstractCauchoRequest
Returns a map of the form.

Specified by:
getParameterMap in interface ServletRequest
Overrides:
getParameterMap in class AbstractCauchoRequest

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String name)
Description copied from class: AbstractCauchoRequest
Returns the form's values for the given name.

Specified by:
getParameterValues in interface ServletRequest
Overrides:
getParameterValues in class AbstractCauchoRequest
Parameters:
name - key in the form
Returns:
value matching the key

getParameterNames

public java.util.Enumeration<java.lang.String> getParameterNames()
Description copied from class: AbstractCauchoRequest
Returns an enumeration of the form names.

Specified by:
getParameterNames in interface ServletRequest
Overrides:
getParameterNames in class AbstractCauchoRequest

getInputStream

public ServletInputStream getInputStream()
                                  throws java.io.IOException
Description copied from interface: ServletRequest
Returns an InputStream to retrieve POST data from the request. The stream will automatically end when the end of the POST data is complete.

Throws:
java.io.IOException

getReader

public java.io.BufferedReader getReader()
                                 throws java.io.IOException,
                                        java.lang.IllegalStateException
Description copied from interface: ServletRequest
Returns a reader to read POSTed data. Character encoding is based on the request data and is the same as getCharacterEncoding()

Throws:
java.io.IOException
java.lang.IllegalStateException

getCharacterEncoding

public java.lang.String getCharacterEncoding()
Description copied from interface: ServletRequest
Returns the character encoding of the POSTed data.


setCharacterEncoding

public void setCharacterEncoding(java.lang.String encoding)
                          throws java.io.UnsupportedEncodingException
Description copied from interface: ServletRequest
Overrides the character encoding specified in the request. setCharacterEncoding must be called before calling getReader or reading any parameters.

Throws:
java.io.UnsupportedEncodingException

getContentLength

public int getContentLength()
Description copied from interface: ServletRequest
Returns the content length of the data. This value may differ from the actual length of the data. Newer browsers supporting HTTP/1.1 may use "chunked" encoding which does not make the content length available.

The upshot is, rely on the input stream to end when the data completes.


getContentType

public java.lang.String getContentType()
Description copied from interface: ServletRequest
Returns the request's mime-type.


getLocale

public java.util.Locale getLocale()
Description copied from interface: ServletRequest
Returns the request's preferred locale, based on the Accept-Language header. If unspecified, returns the server's default locale.


getLocales

public java.util.Enumeration<java.util.Locale> getLocales()
Description copied from interface: ServletRequest
Returns an enumeration of all locales acceptable by the client.


isSecure

public boolean isSecure()
Description copied from interface: ServletRequest
Returns true if the connection is secure, e.g. it uses SSL.


getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Description copied from interface: ServletRequest
Returns an attribute value.

Parameters:
name - the attribute name
Returns:
the attribute value

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object o)
Description copied from interface: ServletRequest
Sets an attribute value.

Parameters:
name - the attribute name
o - the attribute value

getAttributeNames

public java.util.Enumeration<java.lang.String> getAttributeNames()
Description copied from interface: ServletRequest
Enumerates all attribute names in the request.


removeAttribute

public void removeAttribute(java.lang.String name)
Description copied from interface: ServletRequest
Removes the given attribute.

Parameters:
name - the attribute name

getRequestDispatcher

public RequestDispatcher getRequestDispatcher(java.lang.String path)
Description copied from interface: ServletRequest
Returns a request dispatcher for later inclusion or forwarding. This is the servlet API equivalent to SSI includes. uri is relative to the request URI. Absolute URIs are relative to the application prefix (getContextPath()).

If getRequestURI() is /myapp/dir/test.jsp and the uri is "inc.jsp", the resulting page is /myapp/dir/inc.jsp.

   RequestDispatcher disp;
   disp = getRequestDispatcher("inc.jsp?a=b");
   disp.include(request, response);
 

Specified by:
getRequestDispatcher in interface ServletRequest
Overrides:
getRequestDispatcher in class AbstractCauchoRequest
Parameters:
path - path relative to getRequestURI() (including query string) for the included file.
Returns:
RequestDispatcher for later inclusion or forwarding.

getServletContext

public ServletContext getServletContext()
Description copied from interface: ServletRequest
Returns the servlet context for the request


startAsync

public AsyncContext startAsync()
                        throws java.lang.IllegalStateException
Description copied from interface: ServletRequest
Starts an async/comet mode

Throws:
java.lang.IllegalStateException

startAsync

public AsyncContext startAsync(ServletRequest servletRequest,
                               ServletResponse servletResponse)
                        throws java.lang.IllegalStateException
Description copied from interface: ServletRequest
Starts an async mode

Throws:
java.lang.IllegalStateException

getAsyncContext

public AsyncContext getAsyncContext()
Description copied from interface: ServletRequest
Returns the async context for the request


isAsyncStarted

public boolean isAsyncStarted()
Description copied from interface: ServletRequest
Returns true if the request is in async.


isAsyncSupported

public boolean isAsyncSupported()
Description copied from interface: ServletRequest
Returns true if the request supports async


isWrapperFor

public boolean isWrapperFor(ServletRequest wrapped)

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> wrappedType)

getDispatcherType

public DispatcherType getDispatcherType()
Description copied from interface: ServletRequest
Returns DispatcherType

Returns:

getMethod

public java.lang.String getMethod()
Description copied from interface: HttpServletRequest
Returns the HTTP method, e.g. "GET" or "POST"

Equivalent to CGI's REQUEST_METHOD


getRequestURI

public java.lang.String getRequestURI()
Description copied from interface: HttpServletRequest
Returns the entire request URI


getRequestURL

public java.lang.StringBuffer getRequestURL()
Returns the URL for the request

Specified by:
getRequestURL in interface HttpServletRequest
Overrides:
getRequestURL in class AbstractCauchoRequest

getContextPath

public java.lang.String getContextPath()
Description copied from interface: HttpServletRequest
Returns the part of the URI corresponding to the application's prefix. The first part of the URI selects applications (ServletContexts).

getContextPath() is /myapp for the uri /myapp/servlet/Hello,


getServletPath

public java.lang.String getServletPath()
Description copied from interface: HttpServletRequest
Returns the URI part corresponding to the selected servlet. The URI is relative to the application. Returns an emtpy string for a servlet matched on /*

Corresponds to CGI's SCRIPT_NAME getServletPath() is /servlet/Hello for the uri /myapp/servlet/Hello/foo. getServletPath() is /dir/hello.jsp for the uri /myapp/dir/hello.jsp/foo,


getPathInfo

public java.lang.String getPathInfo()
Description copied from interface: HttpServletRequest
Returns the URI part after the selected servlet and null if there is no suffix.

Corresponds to CGI's PATH_INFO

getPathInfo() is /foo for the uri /myapp/servlet/Hello/foo. getPathInfo() is /hello.jsp for for the uri /myapp/dir/hello.jsp/foo.


getPathTranslated

public java.lang.String getPathTranslated()
Returns the real path of pathInfo.

Specified by:
getPathTranslated in interface HttpServletRequest
Overrides:
getPathTranslated in class AbstractCauchoRequest
Returns:
null if there is no path info.

getQueryString

public java.lang.String getQueryString()
Description copied from interface: HttpServletRequest
Returns the request's query string. Form based servlets will use ServletRequest.getParameter() to decode the form values.

Corresponds to CGI's PATH_TRANSLATED


getHeader

public java.lang.String getHeader(java.lang.String name)
Description copied from interface: HttpServletRequest
Returns the first value for a request header.

Corresponds to CGI's HTTP_*

 String userAgent = request.getHeader("User-Agent");
 

Parameters:
name - the header name
Returns:
the header value

getHeaders

public java.util.Enumeration<java.lang.String> getHeaders(java.lang.String name)
Description copied from interface: HttpServletRequest
Returns all the values for a request header. In some rare cases, like cookies, browsers may return multiple headers.

Parameters:
name - the header name
Returns:
an enumeration of the header values.

getHeaderNames

public java.util.Enumeration<java.lang.String> getHeaderNames()
Description copied from interface: HttpServletRequest
Returns an enumeration of all headers sent by the client.


getIntHeader

public int getIntHeader(java.lang.String name)
Description copied from interface: HttpServletRequest
Converts a header value to an integer.

Parameters:
name - the header name
Returns:
the header value converted to an integer

getDateHeader

public long getDateHeader(java.lang.String name)
Description copied from interface: HttpServletRequest
Converts a date header to milliseconds since the epoch.

 long mod = request.getDateHeader("If-Modified-Since");
 

Parameters:
name - the header name
Returns:
the header value converted to an date

getCookies

public Cookie[] getCookies()
Description copied from interface: HttpServletRequest
Returns an array of all cookies sent by the client.


getRequestedSessionId

public java.lang.String getRequestedSessionId()
Description copied from interface: HttpServletRequest
Returns the session id. Sessions are a convenience for keeping user state across requests.

The session id is the value of the JSESSION cookie.


isRequestedSessionIdValid

public boolean isRequestedSessionIdValid()
Description copied from class: AbstractCauchoRequest
Returns true if the HTTP request's session id refers to a valid session.

Specified by:
isRequestedSessionIdValid in interface HttpServletRequest
Overrides:
isRequestedSessionIdValid in class AbstractCauchoRequest

isRequestedSessionIdFromCookie

public boolean isRequestedSessionIdFromCookie()
Description copied from interface: HttpServletRequest
Returns true if the session came from a cookie.


isRequestedSessionIdFromURL

public boolean isRequestedSessionIdFromURL()
Description copied from interface: HttpServletRequest
Returns true if the session came URL-encoding.


setSessionId

public void setSessionId(java.lang.String sessionId)
Specified by:
setSessionId in interface CauchoRequest
Specified by:
setSessionId in class AbstractCauchoRequest

getSessionId

public java.lang.String getSessionId()
Specified by:
getSessionId in interface CauchoRequest
Specified by:
getSessionId in class AbstractCauchoRequest

isSessionIdFromCookie

public boolean isSessionIdFromCookie()
Specified by:
isSessionIdFromCookie in interface CauchoRequest
Specified by:
isSessionIdFromCookie in class AbstractCauchoRequest

getAuthType

public java.lang.String getAuthType()
Description copied from interface: HttpServletRequest
Returns the auth type, i.e. BASIC, CLIENT-CERT, DIGEST, or FORM.


getRemoteUser

public java.lang.String getRemoteUser()
Description copied from interface: HttpServletRequest
Returns the remote user if authenticated.


isRequestedSessionIdFromUrl

public boolean isRequestedSessionIdFromUrl()

getPart

public Part getPart(java.lang.String name)
             throws java.io.IOException,
                    ServletException
Specified by:
getPart in interface HttpServletRequest
Overrides:
getPart in class AbstractCauchoRequest
Throws:
java.io.IOException
ServletException

getParts

public java.util.Collection<Part> getParts()
                                    throws java.io.IOException,
                                           ServletException
Specified by:
getParts in interface HttpServletRequest
Overrides:
getParts in class AbstractCauchoRequest
Throws:
java.io.IOException
ServletException

isDelegateMultipartEnabled

protected boolean isDelegateMultipartEnabled()

isMultipartEnabled

public boolean isMultipartEnabled()
Specified by:
isMultipartEnabled in interface CauchoRequest
Overrides:
isMultipartEnabled in class AbstractCauchoRequest

logout

public void logout()
            throws ServletException
Throws:
ServletException

getPageURI

public java.lang.String getPageURI()

getPageContextPath

public java.lang.String getPageContextPath()

getPageServletPath

public java.lang.String getPageServletPath()

getPagePathInfo

public java.lang.String getPagePathInfo()

getPageQueryString

public java.lang.String getPageQueryString()

getWebApp

public WebApp getWebApp()

getStream

public ReadStream getStream()
                     throws java.io.IOException
Throws:
java.io.IOException

getRequestDepth

public int getRequestDepth(int depth)

setHeader

public void setHeader(java.lang.String key,
                      java.lang.String value)

isSyntheticCacheHeader

public boolean isSyntheticCacheHeader()

setSyntheticCacheHeader

public void setSyntheticCacheHeader(boolean isSynthetic)

getVaryCookies

public boolean getVaryCookies()

setVaryCookie

public void setVaryCookie(java.lang.String cookie)

getHasCookie

public boolean getHasCookie()

isTop

public boolean isTop()
Specified by:
isTop in interface CauchoRequest
Overrides:
isTop in class AbstractCauchoRequest

hasRequest

public boolean hasRequest()

getMemorySession

public HttpSession getMemorySession()
Description copied from class: AbstractCauchoRequest
Returns the memory session.

Specified by:
getMemorySession in interface CauchoRequest
Overrides:
getMemorySession in class AbstractCauchoRequest

getCookie

public Cookie getCookie(java.lang.String name)

setHasCookie

public void setHasCookie()

killKeepalive

public void killKeepalive(java.lang.String reason)

isSuspend

public boolean isSuspend()

isComet

public boolean isComet()

isDuplex

public boolean isDuplex()

isConnectionClosed

public boolean isConnectionClosed()

isLoginRequested

public boolean isLoginRequested()
Description copied from class: AbstractCauchoRequest
Returns true if any authentication is requested

Specified by:
isLoginRequested in interface CauchoRequest
Specified by:
isLoginRequested in class AbstractCauchoRequest

requestLogin

public void requestLogin()
Specified by:
requestLogin in interface CauchoRequest
Specified by:
requestLogin in class AbstractCauchoRequest

getServletResponse

public ServletResponse getServletResponse()

getAbstractHttpRequest

public AbstractHttpRequest getAbstractHttpRequest()
Specified by:
getAbstractHttpRequest in interface CauchoRequest
Specified by:
getAbstractHttpRequest in class AbstractCauchoRequest

toString

public java.lang.String toString()
Overrides:
toString in class AbstractCauchoRequest