org.exist.http.servlets
Interface RequestWrapper

All Known Implementing Classes:
CocoonRequestWrapper, HttpRequestWrapper

public interface RequestWrapper

Author:
Wolfgang Meier (wolfgang@exist-db.org)

Method Summary
 Object getAttribute(String name)
           
 String getCharacterEncoding()
           
 int getContentLength()
           
 String getContentType()
           
 String getContextPath()
           
 Cookie[] getCookies()
           
 File getFileUploadParam(String parameter)
           
 String getHeader(String arg0)
           
 Enumeration getHeaderNames()
           
 Enumeration getHeaders(String arg0)
           
 InputStream getInputStream()
           
 String getMethod()
           
 String getParameter(String arg0)
           
 Enumeration getParameterNames()
           
 String[] getParameterValues(String arg0)
           
 String getPathInfo()
           
 String getPathTranslated()
           
 String getProtocol()
           
 String getQueryString()
           
 String getRemoteAddr()
           
 String getRemoteHost()
           
 String getRemoteUser()
           
 String getRequestedSessionId()
           
 String getRequestURI()
           
 StringBuffer getRequestURL()
           
 String getScheme()
           
 String getServerName()
           
 int getServerPort()
           
 String getServletPath()
           
 SessionWrapper getSession()
           
 SessionWrapper getSession(boolean arg0)
           
 String getUploadedFileName(String parameter)
           
 Principal getUserPrincipal()
           
 boolean isRequestedSessionIdFromCookie()
           
 boolean isRequestedSessionIdFromURL()
           
 boolean isRequestedSessionIdValid()
           
 boolean isSecure()
           
 boolean isUserInRole(String arg0)
           
 void removeAttribute(String arg0)
           
 void setAttribute(String arg0, Object arg1)
           
 void setCharacterEncoding(String arg0)
           
 

Method Detail

getAttribute

Object getAttribute(String name)

getCharacterEncoding

String getCharacterEncoding()

getContentLength

int getContentLength()

getInputStream

InputStream getInputStream()
                           throws IOException
Throws:
IOException

getCookies

Cookie[] getCookies()

getContentType

String getContentType()

getContextPath

String getContextPath()

getHeader

String getHeader(String arg0)

getHeaderNames

Enumeration getHeaderNames()

getHeaders

Enumeration getHeaders(String arg0)

getMethod

String getMethod()

getParameter

String getParameter(String arg0)

getParameterNames

Enumeration getParameterNames()

getParameterValues

String[] getParameterValues(String arg0)

getFileUploadParam

File getFileUploadParam(String parameter)

getUploadedFileName

String getUploadedFileName(String parameter)

getPathInfo

String getPathInfo()

getPathTranslated

String getPathTranslated()

getProtocol

String getProtocol()

getQueryString

String getQueryString()

getRemoteAddr

String getRemoteAddr()

getRemoteHost

String getRemoteHost()

getRemoteUser

String getRemoteUser()

getRequestedSessionId

String getRequestedSessionId()

getRequestURI

String getRequestURI()

getRequestURL

StringBuffer getRequestURL()

getScheme

String getScheme()

getServerName

String getServerName()

getServerPort

int getServerPort()

getServletPath

String getServletPath()

getSession

SessionWrapper getSession()

getSession

SessionWrapper getSession(boolean arg0)

getUserPrincipal

Principal getUserPrincipal()

isRequestedSessionIdFromCookie

boolean isRequestedSessionIdFromCookie()

isRequestedSessionIdFromURL

boolean isRequestedSessionIdFromURL()

isRequestedSessionIdValid

boolean isRequestedSessionIdValid()

isSecure

boolean isSecure()

isUserInRole

boolean isUserInRole(String arg0)

removeAttribute

void removeAttribute(String arg0)

setAttribute

void setAttribute(String arg0,
                  Object arg1)

setCharacterEncoding

void setCharacterEncoding(String arg0)
                          throws UnsupportedEncodingException
Throws:
UnsupportedEncodingException


Copyright (C) Wolfgang Meier. All rights reserved.