Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.exist.http.servlets
Interface RequestWrapper

All Known Implementing Classes:
  CocoonRequestWrapper, HttpRequestWrapper

public interface RequestWrapper

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

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

Method Detail

### getCharacterEncoding

    public java.lang.String getCharacterEncoding()

### getContentLength

    public int getContentLength()

### getInputStream

    public java.io.InputStream getInputStream()
                                       throws java.io.IOException

  Throws:
    `java.io.IOException`

### getCookies

    public javax.servlet.http.Cookie[] getCookies()

### getContentType

    public java.lang.String getContentType()

### getContextPath

    public java.lang.String getContextPath()

### getHeader

    public java.lang.String getHeader(java.lang.String arg0)

### getHeaderNames

    public java.util.Enumeration getHeaderNames()

### getHeaders

    public java.util.Enumeration getHeaders(java.lang.String arg0)

### getMethod

    public java.lang.String getMethod()

### getParameter

    public java.lang.String getParameter(java.lang.String arg0)

### getParameterNames

    public java.util.Enumeration getParameterNames()

### getParameterValues

    public java.lang.String[] getParameterValues(java.lang.String arg0)

### getFileUploadParam

    public java.io.File getFileUploadParam(java.lang.String parameter)

### getUploadedFileName

    public java.lang.String getUploadedFileName(java.lang.String parameter)

### getPathInfo

    public java.lang.String getPathInfo()

### getPathTranslated

    public java.lang.String getPathTranslated()

### getProtocol

    public java.lang.String getProtocol()

### getQueryString

    public java.lang.String getQueryString()

### getRemoteAddr

    public java.lang.String getRemoteAddr()

### getRemoteHost

    public java.lang.String getRemoteHost()

### getRemoteUser

    public java.lang.String getRemoteUser()

### getRequestedSessionId

    public java.lang.String getRequestedSessionId()

### getRequestURI

    public java.lang.String getRequestURI()

### getRequestURL

    public java.lang.StringBuffer getRequestURL()

### getScheme

    public java.lang.String getScheme()

### getServerName

    public java.lang.String getServerName()

### getServerPort

    public int getServerPort()

### getServletPath

    public java.lang.String getServletPath()

### getSession

    public SessionWrapper getSession()

### getSession

    public SessionWrapper getSession(boolean arg0)

### getUserPrincipal

    public java.security.Principal getUserPrincipal()

### isRequestedSessionIdFromCookie

    public boolean isRequestedSessionIdFromCookie()

### isRequestedSessionIdFromURL

    public boolean isRequestedSessionIdFromURL()

### isRequestedSessionIdValid

    public boolean isRequestedSessionIdValid()

### isSecure

    public boolean isSecure()

### isUserInRole

    public boolean isUserInRole(java.lang.String arg0)

### removeAttribute

    public void removeAttribute(java.lang.String arg0)

### setAttribute

    public void setAttribute(java.lang.String arg0,
                             java.lang.Object arg1)

### setCharacterEncoding

    public void setCharacterEncoding(java.lang.String arg0)
                              throws java.io.UnsupportedEncodingException

  Throws:
    `java.io.UnsupportedEncodingException`

Overview | Package | Class | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) Wolfgang Meier. All rights reserved.