org.apache.cocoon.components.deli
Class DeliImpl.CocoonServletRequest

java.lang.Object
  extended by org.apache.cocoon.components.deli.DeliImpl.CocoonServletRequest
All Implemented Interfaces:
HttpServletRequest, ServletRequest
Enclosing class:
DeliImpl

public static class DeliImpl.CocoonServletRequest
extends Object
implements HttpServletRequest

Stub implementation of HttpServletRequest


Constructor Summary
DeliImpl.CocoonServletRequest(Request request)
           
 
Method Summary
 Object getAttribute(String s)
           
 Enumeration getAttributeNames()
           
 String getAuthType()
           
 String getCharacterEncoding()
           
 int getContentLength()
           
 String getContentType()
           
 String getContextPath()
           
 Cookie[] getCookies()
           
 long getDateHeader(String s)
           
 String getHeader(String s)
           
 Enumeration getHeaderNames()
           
 Enumeration getHeaders(String s)
           
 ServletInputStream getInputStream()
           
 int getIntHeader(String s)
           
 Locale getLocale()
           
 Enumeration getLocales()
           
 String getMethod()
           
 String getParameter(String s)
           
 Map getParameterMap()
           
 Enumeration getParameterNames()
           
 String[] getParameterValues(String s)
           
 String getPathInfo()
           
 String getPathTranslated()
           
 String getProtocol()
           
 String getQueryString()
           
 BufferedReader getReader()
           
 String getRealPath(String s)
          Deprecated. use DeliImpl.CocoonServletContext.getRealPath(java.lang.String) instead.
 String getRemoteAddr()
           
 String getRemoteHost()
           
 String getRemoteUser()
           
 RequestDispatcher getRequestDispatcher(String s)
           
 String getRequestedSessionId()
           
 String getRequestURI()
           
 StringBuffer getRequestURL()
           
 String getScheme()
           
 String getServerName()
           
 int getServerPort()
           
 String getServletPath()
           
 HttpSession getSession()
           
 HttpSession getSession(boolean flag)
           
 Principal getUserPrincipal()
           
 boolean isRequestedSessionIdFromCookie()
           
 boolean isRequestedSessionIdFromUrl()
          Deprecated. use isRequestedSessionIdFromURL() instead
 boolean isRequestedSessionIdFromURL()
           
 boolean isRequestedSessionIdValid()
           
 boolean isSecure()
           
 boolean isUserInRole(String s)
           
 void removeAttribute(String s)
           
 void setAttribute(String s, Object obj)
           
 void setCharacterEncoding(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeliImpl.CocoonServletRequest

public DeliImpl.CocoonServletRequest(Request request)
Method Detail

getAuthType

public String getAuthType()
Specified by:
getAuthType in interface HttpServletRequest

getDateHeader

public long getDateHeader(String s)
Specified by:
getDateHeader in interface HttpServletRequest

getHeader

public String getHeader(String s)
Specified by:
getHeader in interface HttpServletRequest

getHeaders

public Enumeration getHeaders(String s)
Specified by:
getHeaders in interface HttpServletRequest

getHeaderNames

public Enumeration getHeaderNames()
Specified by:
getHeaderNames in interface HttpServletRequest

getMethod

public String getMethod()
Specified by:
getMethod in interface HttpServletRequest

getPathInfo

public String getPathInfo()
Specified by:
getPathInfo in interface HttpServletRequest

getPathTranslated

public String getPathTranslated()
Specified by:
getPathTranslated in interface HttpServletRequest

getContextPath

public String getContextPath()
Specified by:
getContextPath in interface HttpServletRequest

getQueryString

public String getQueryString()
Specified by:
getQueryString in interface HttpServletRequest

getRemoteUser

public String getRemoteUser()
Specified by:
getRemoteUser in interface HttpServletRequest

isUserInRole

public boolean isUserInRole(String s)
Specified by:
isUserInRole in interface HttpServletRequest

getRequestedSessionId

public String getRequestedSessionId()
Specified by:
getRequestedSessionId in interface HttpServletRequest

getRequestURI

public String getRequestURI()
Specified by:
getRequestURI in interface HttpServletRequest

getServletPath

public String getServletPath()
Specified by:
getServletPath in interface HttpServletRequest

isRequestedSessionIdValid

public boolean isRequestedSessionIdValid()
Specified by:
isRequestedSessionIdValid in interface HttpServletRequest

isRequestedSessionIdFromCookie

public boolean isRequestedSessionIdFromCookie()
Specified by:
isRequestedSessionIdFromCookie in interface HttpServletRequest

getAttribute

public Object getAttribute(String s)
Specified by:
getAttribute in interface ServletRequest

getAttributeNames

public Enumeration getAttributeNames()
Specified by:
getAttributeNames in interface ServletRequest

getCharacterEncoding

public String getCharacterEncoding()
Specified by:
getCharacterEncoding in interface ServletRequest

getContentLength

public int getContentLength()
Specified by:
getContentLength in interface ServletRequest

getContentType

public String getContentType()
Specified by:
getContentType in interface ServletRequest

getParameter

public String getParameter(String s)
Specified by:
getParameter in interface ServletRequest

getParameterNames

public Enumeration getParameterNames()
Specified by:
getParameterNames in interface ServletRequest

getParameterValues

public String[] getParameterValues(String s)
Specified by:
getParameterValues in interface ServletRequest

getProtocol

public String getProtocol()
Specified by:
getProtocol in interface ServletRequest

getScheme

public String getScheme()
Specified by:
getScheme in interface ServletRequest

getServerName

public String getServerName()
Specified by:
getServerName in interface ServletRequest

getServerPort

public int getServerPort()
Specified by:
getServerPort in interface ServletRequest

getRemoteAddr

public String getRemoteAddr()
Specified by:
getRemoteAddr in interface ServletRequest

getRemoteHost

public String getRemoteHost()
Specified by:
getRemoteHost in interface ServletRequest

setAttribute

public void setAttribute(String s,
                         Object obj)
Specified by:
setAttribute in interface ServletRequest

removeAttribute

public void removeAttribute(String s)
Specified by:
removeAttribute in interface ServletRequest

isSecure

public boolean isSecure()
Specified by:
isSecure in interface ServletRequest

getRequestURL

public StringBuffer getRequestURL()

getParameterMap

public Map getParameterMap()

setCharacterEncoding

public void setCharacterEncoding(String s)

getUserPrincipal

public Principal getUserPrincipal()
Specified by:
getUserPrincipal in interface HttpServletRequest

getLocale

public Locale getLocale()
Specified by:
getLocale in interface ServletRequest

getLocales

public Enumeration getLocales()
Specified by:
getLocales in interface ServletRequest

getRealPath

public String getRealPath(String s)
Deprecated. use DeliImpl.CocoonServletContext.getRealPath(java.lang.String) instead.

Specified by:
getRealPath in interface ServletRequest

getCookies

public Cookie[] getCookies()
Specified by:
getCookies in interface HttpServletRequest

getRequestDispatcher

public RequestDispatcher getRequestDispatcher(String s)
Specified by:
getRequestDispatcher in interface ServletRequest

getReader

public BufferedReader getReader()
                         throws IOException
Specified by:
getReader in interface ServletRequest
Throws:
IOException

getInputStream

public ServletInputStream getInputStream()
                                  throws IOException
Specified by:
getInputStream in interface ServletRequest
Throws:
IOException

getSession

public HttpSession getSession(boolean flag)
Specified by:
getSession in interface HttpServletRequest

getSession

public HttpSession getSession()
Specified by:
getSession in interface HttpServletRequest

isRequestedSessionIdFromURL

public boolean isRequestedSessionIdFromURL()
Specified by:
isRequestedSessionIdFromURL in interface HttpServletRequest

isRequestedSessionIdFromUrl

public boolean isRequestedSessionIdFromUrl()
Deprecated. use isRequestedSessionIdFromURL() instead

Specified by:
isRequestedSessionIdFromUrl in interface HttpServletRequest

getIntHeader

public int getIntHeader(String s)
Specified by:
getIntHeader in interface HttpServletRequest


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.