FileDocCategorySizeDatePackage
HttpRequestWrapper.javaAPI DocGlassfish v2 API9564Fri May 04 22:36:20 BST 2007com.sun.web.security

HttpRequestWrapper

public class HttpRequestWrapper extends HttpServletRequestWrapper implements org.apache.catalina.HttpRequest

Fields Summary
private org.apache.catalina.HttpRequest
httpRequest
Constructors Summary
HttpRequestWrapper(org.apache.catalina.HttpRequest request, HttpServletRequest servletRequest)

        super(servletRequest);
        httpRequest = request;
    
Methods Summary
public voidaddCookie(javax.servlet.http.Cookie cookie)

        httpRequest.addCookie(cookie);
    
public voidaddHeader(java.lang.String name, java.lang.String value)

        httpRequest.addHeader(name, value);
    
public voidaddLocale(java.util.Locale locale)

        httpRequest.addLocale(locale);
    
public voidaddParameter(java.lang.String name, java.lang.String[] values)

        httpRequest.addParameter(name, values);
    
public voidclearCookies()

        httpRequest.clearCookies();
    
public voidclearHeaders()

        httpRequest.clearHeaders();
    
public voidclearLocales()

        httpRequest.clearLocales();
    
public voidclearParameters()

        httpRequest.clearParameters();
    
public javax.servlet.ServletInputStreamcreateInputStream()

        return httpRequest.createInputStream();
    
public voidfinishRequest()

        httpRequest.finishRequest();
    
public java.lang.StringgetAuthorization()

        return httpRequest.getAuthorization();
    
public booleangetCheckRestrictedResources()

        return httpRequest.getCheckRestrictedResources();
    
public org.apache.catalina.ConnectorgetConnector()

        return httpRequest.getConnector();
    
public org.apache.catalina.ContextgetContext()

        return httpRequest.getContext();
    
public org.apache.tomcat.util.buf.MessageBytesgetContextPathMB()

        return httpRequest.getContextPathMB();
    
public java.lang.StringgetDecodedRequestURI()

        return httpRequest.getDecodedRequestURI();
    
public org.apache.tomcat.util.buf.MessageBytesgetDecodedRequestURIMB()

        return httpRequest.getDecodedRequestURIMB();
    
public javax.servlet.FilterChaingetFilterChain()

        return httpRequest.getFilterChain();
    
public org.apache.catalina.HostgetHost()

        return httpRequest.getHost();
    
public java.lang.StringgetInfo()

        return httpRequest.getInfo();
    
public java.lang.StringgetJrouteId()

        return httpRequest.getJrouteId();
    
public java.lang.ObjectgetNote(java.lang.String name)

        return httpRequest.getNote(name);
    
public java.util.IteratorgetNoteNames()

        return httpRequest.getNoteNames();
    
public org.apache.tomcat.util.buf.MessageBytesgetPathInfoMB()

        return httpRequest.getPathInfoMB();
    
public javax.servlet.ServletRequestgetRequest()

        return httpRequest.getRequest();
    
public org.apache.tomcat.util.buf.MessageBytesgetRequestPathMB()

        return httpRequest.getRequestPathMB();
    
public org.apache.catalina.ResponsegetResponse()

        return httpRequest.getResponse();
    
public org.apache.tomcat.util.buf.MessageBytesgetServletPathMB()

        return httpRequest.getServletPathMB();
    
public java.net.SocketgetSocket()

        return httpRequest.getSocket();
    
public java.io.InputStreamgetStream()

        return httpRequest.getStream();
    
public org.apache.catalina.ValveContextgetValveContext()

        return httpRequest.getValveContext();
    
public org.apache.catalina.WrappergetWrapper()

        return httpRequest.getWrapper();
    
public voidrecycle()

        httpRequest.recycle();
    
public voidremoveNote(java.lang.String name)

        httpRequest.removeNote(name);
    
public voidsetAuthType(java.lang.String type)

        httpRequest.setAuthType(type);
    
public voidsetAuthorization(java.lang.String authorization)

        httpRequest.setAuthorization(authorization);
    
public voidsetCheckRestrictedResources(boolean check)

        httpRequest.setCheckRestrictedResources(check);
    
public voidsetConnector(org.apache.catalina.Connector connector)

        httpRequest.setConnector(connector);
    
public voidsetContentLength(int length)

        httpRequest.setContentLength(length);
    
public voidsetContentType(java.lang.String type)

        httpRequest.setContentType(type);
    
public voidsetContext(org.apache.catalina.Context context)

        httpRequest.setContext(context);
    
public voidsetContextPath(java.lang.String path)

        httpRequest.setContextPath(path);
    
public voidsetDecodedRequestURI(java.lang.String uri)

        httpRequest.setDecodedRequestURI(uri);
    
public voidsetFilterChain(javax.servlet.FilterChain filterChain)

        httpRequest.setFilterChain(filterChain);
    
public voidsetHost(org.apache.catalina.Host host)

        httpRequest.setHost(host);
    
public voidsetMethod(java.lang.String method)

        httpRequest.setMethod(method);
    
public voidsetNote(java.lang.String name, java.lang.Object value)

        httpRequest.setNote(name, value);
    
public voidsetPathInfo(java.lang.String path)

        httpRequest.setPathInfo(path);
    
public voidsetProtocol(java.lang.String protocol)

        httpRequest.setProtocol(protocol);
    
public voidsetQueryString(java.lang.String query)

        httpRequest.setQueryString(query);
    
public voidsetRemoteAddr(java.lang.String remote)

        httpRequest.setRemoteAddr(remote);
    
public voidsetRequestURI(java.lang.String uri)

        httpRequest.setRequestURI(uri);
    
public voidsetRequestedSessionCookie(boolean flag)

        httpRequest.setRequestedSessionCookie(flag);
    
public voidsetRequestedSessionId(java.lang.String id)

        httpRequest.setRequestedSessionId(id);
    
public voidsetRequestedSessionURL(boolean flag)

        httpRequest.setRequestedSessionURL(flag);
    
public voidsetResponse(org.apache.catalina.Response response)

        httpRequest.setResponse(response);
    
public voidsetScheme(java.lang.String scheme)

        httpRequest.setScheme(scheme);
    
public voidsetSecure(boolean secure)

        httpRequest.setSecure(secure);
    
public voidsetServerName(java.lang.String name)

        httpRequest.setServerName(name);
    
public voidsetServerPort(int port)

        httpRequest.setServerPort(port);
    
public voidsetServletPath(java.lang.String path)

        httpRequest.setServletPath(path);
    
public voidsetSocket(java.net.Socket socket)

        httpRequest.setSocket(socket);
    
public voidsetStream(java.io.InputStream stream)

        httpRequest.setStream(stream);
    
public voidsetUserPrincipal(java.security.Principal principal)

        httpRequest.setUserPrincipal(principal);
    
public voidsetValveContext(org.apache.catalina.ValveContext valveContext)

        httpRequest.setValveContext(valveContext);
    
public voidsetWrapper(org.apache.catalina.Wrapper wrapper)

        httpRequest.setWrapper(wrapper);