org.apache.chemistry.opencmis.server.filter
Class ProxyHttpServletRequestWrapper

java.lang.Object
  extended by javax.servlet.ServletRequestWrapper
      extended by javax.servlet.http.HttpServletRequestWrapper
          extended by org.apache.chemistry.opencmis.server.filter.ProxyHttpServletRequestWrapper
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

public class ProxyHttpServletRequestWrapper
extends javax.servlet.http.HttpServletRequestWrapper


Field Summary
static String FORWARDED_HOST_HEADER
           
static String FORWARDED_PROTO_HEADER
           
static String HTTP_SCHEME
           
static String HTTPS_SCHEME
           
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
ProxyHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 String getScheme()
           
 String getServerName()
           
 int getServerPort()
           
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Field Detail

FORWARDED_HOST_HEADER

public static final String FORWARDED_HOST_HEADER
See Also:
Constant Field Values

FORWARDED_PROTO_HEADER

public static final String FORWARDED_PROTO_HEADER
See Also:
Constant Field Values

HTTPS_SCHEME

public static final String HTTPS_SCHEME
See Also:
Constant Field Values

HTTP_SCHEME

public static final String HTTP_SCHEME
See Also:
Constant Field Values
Constructor Detail

ProxyHttpServletRequestWrapper

public ProxyHttpServletRequestWrapper(javax.servlet.http.HttpServletRequest request)
Method Detail

getScheme

public String getScheme()
Specified by:
getScheme in interface javax.servlet.ServletRequest
Overrides:
getScheme in class javax.servlet.ServletRequestWrapper

getServerName

public String getServerName()
Specified by:
getServerName in interface javax.servlet.ServletRequest
Overrides:
getServerName in class javax.servlet.ServletRequestWrapper

getServerPort

public int getServerPort()
Specified by:
getServerPort in interface javax.servlet.ServletRequest
Overrides:
getServerPort in class javax.servlet.ServletRequestWrapper


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.