com.caucho.server.rewrite
Class SetRequestSecureFilterChain.SecureServletRequestWrapper

java.lang.Object
  extended by com.caucho.server.http.RequestWrapper
      extended by com.caucho.server.http.RequestAdapter
          extended by com.caucho.server.rewrite.SetRequestSecureFilterChain.SecureServletRequestWrapper
All Implemented Interfaces:
CauchoRequest, HttpServletRequest, ServletRequest
Enclosing class:
SetRequestSecureFilterChain

public static class SetRequestSecureFilterChain.SecureServletRequestWrapper
extends RequestAdapter


Field Summary
 
Fields inherited from class com.caucho.server.http.RequestAdapter
JSP_EXCEPTION, SHUTDOWN
 
Fields inherited from class com.caucho.server.http.RequestWrapper
_request
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
SetRequestSecureFilterChain.SecureServletRequestWrapper(HttpServletRequest request, boolean isSecure)
           
 
Method Summary
 java.lang.String getScheme()
          Returns the request's scheme.
 boolean isSecure()
          Returns true if the connection is secure, e.g.
 
Methods inherited from class com.caucho.server.http.RequestAdapter
authenticate, clientDisconnect, create, create, free, free, getAbstractHttpRequest, getCauchoRequest, getCookie, getCookieName, getCookies, getHasCookie, getMemorySession, getPageContextPath, getPageContextPath, getPagePathInfo, getPagePathInfo, getPageQueryString, getPageQueryString, getPageServletPath, getPageServletPath, getPageURI, getPageURI, getPart, getParts, getRequestDepth, getRequestedSessionId, getResponse, getSession, getSessionId, getSessionManager, getSocketLink, getStream, getVaryCookies, getWebApp, hasRequest, init, isComet, isConnectionClosed, isDuplex, isLoginRequested, isMultipartEnabled, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSessionIdFromCookie, isSuspend, isSyntheticCacheHeader, isTop, isUserInRole, killKeepalive, login, login, logout, requestLogin, setHasCookie, setHeader, setResponse, setRoleMap, setSessionId, setSyntheticCacheHeader, setVaryCookie, setWebApp, toString
 
Methods inherited from class com.caucho.server.http.RequestWrapper
addAsyncListener, addAsyncListener, complete, getAsyncContext, getAttribute, getAttributeNames, getAuthType, getCharacterEncoding, getContentLength, getContentType, getContextPath, getDateHeader, getDispatcherType, getHeader, getHeaderNames, getHeaders, getInputStream, getIntHeader, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getMethod, getParameter, getParameterMap, getParameterNames, getParameterValues, getPathInfo, getPathTranslated, getProtocol, getQueryString, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRemoteUser, getRequest, getRequestDispatcher, getRequestURI, getRequestURL, getServerName, getServerPort, getServletContext, getServletPath, getServletResponse, getSession, getUserPrincipal, isAsyncStarted, isAsyncSupported, isInitial, isRequestedSessionIdFromUrl, isResumed, isSuspended, isTimeout, removeAttribute, resume, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync, suspend, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.server.http.CauchoRequest
getServletResponse
 
Methods inherited from interface javax.servlet.http.HttpServletRequest
getAuthType, getContextPath, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestURI, getRequestURL, getServletPath, getSession, getUserPrincipal, isRequestedSessionIdFromUrl
 
Methods inherited from interface javax.servlet.ServletRequest
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
 

Constructor Detail

SetRequestSecureFilterChain.SecureServletRequestWrapper

public SetRequestSecureFilterChain.SecureServletRequestWrapper(HttpServletRequest request,
                                                               boolean isSecure)
Method Detail

isSecure

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

Specified by:
isSecure in interface ServletRequest
Overrides:
isSecure in class RequestWrapper

getScheme

public java.lang.String getScheme()
Returns the request's scheme.

Specified by:
getScheme in interface ServletRequest
Overrides:
getScheme in class RequestWrapper