Enhydra 5.1 API

org.enhydra.servlet.filter
Class PrintTransactionRequest

java.lang.Object
  |
  +--org.enhydra.servlet.filter.RequestFilter
        |
        +--org.enhydra.servlet.filter.PrintTransactionRequest
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, org.apache.tomcat.core.RequestAdapter, javax.servlet.ServletRequest

public class PrintTransactionRequest
extends RequestFilter


Field Summary
 
Fields inherited from class org.enhydra.servlet.filter.RequestFilter
adapter, myRequest
 
Constructor Summary
PrintTransactionRequest(javax.servlet.http.HttpServletRequest req, java.lang.String prefix, java.io.PrintWriter out, boolean logStream)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getAuthType()
          This call is passed on to the original HttpServletRequest object.
 int getContentLength()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getContentType()
          This call is passed on to the original HttpServletRequest object.
 long getDateHeader(java.lang.String name)
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getHeader(java.lang.String name)
          This call is passed on to the original HttpServletRequest object.
 java.util.Enumeration getHeaderNames()
          This call is passed on to the original HttpServletRequest object.
 javax.servlet.ServletInputStream getInputStream()
          This call is passed on to the original HttpServletRequest object.
 int getIntHeader(java.lang.String name)
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getMethod()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getParameter(java.lang.String name)
          This call is passed on to the original HttpServletRequest object.
 java.util.Enumeration getParameterNames()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String[] getParameterValues(java.lang.String name)
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getPathInfo()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getPathTranslated()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getProtocol()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getQueryString()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getRealPath(java.lang.String path)
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getRemoteAddr()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getRemoteHost()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getRemoteUser()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getRequestURI()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getScheme()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getServerName()
          This call is passed on to the original HttpServletRequest object.
 int getServerPort()
          This call is passed on to the original HttpServletRequest object.
 java.lang.String getServletPath()
          This call is passed on to the original HttpServletRequest object.
 
Methods inherited from class org.enhydra.servlet.filter.RequestFilter
doRead, doRead, getAttributeNames, getCharacterEncoding, getContextPath, getCookieHeaders, getCookies, getHeaders, getLocale, getLocales, getMimeHeaders, getReader, getRequestDispatcher, getRequestedSessionId, getServletName, getServletPrefix, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isSecure, isUserInRole, recycle, removeAttribute, setAttribute, setQueryString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrintTransactionRequest

public PrintTransactionRequest(javax.servlet.http.HttpServletRequest req,
                               java.lang.String prefix,
                               java.io.PrintWriter out,
                               boolean logStream)
Method Detail

getContentLength

public int getContentLength()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getContentLength in interface javax.servlet.ServletRequest
Overrides:
getContentLength in class RequestFilter
See Also:
ServletRequest

getContentType

public java.lang.String getContentType()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getContentType in interface javax.servlet.ServletRequest
Overrides:
getContentType in class RequestFilter
See Also:
ServletRequest

getProtocol

public java.lang.String getProtocol()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getProtocol in interface javax.servlet.ServletRequest
Overrides:
getProtocol in class RequestFilter
See Also:
ServletRequest

getScheme

public java.lang.String getScheme()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getScheme in interface javax.servlet.ServletRequest
Overrides:
getScheme in class RequestFilter
See Also:
ServletRequest

getServerName

public java.lang.String getServerName()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getServerName in interface javax.servlet.ServletRequest
Overrides:
getServerName in class RequestFilter
See Also:
ServletRequest

getServerPort

public int getServerPort()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getServerPort in interface javax.servlet.ServletRequest
Overrides:
getServerPort in class RequestFilter
See Also:
ServletRequest

getRemoteAddr

public java.lang.String getRemoteAddr()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getRemoteAddr in interface javax.servlet.ServletRequest
Overrides:
getRemoteAddr in class RequestFilter
See Also:
ServletRequest

getRemoteHost

public java.lang.String getRemoteHost()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getRemoteHost in interface javax.servlet.ServletRequest
Overrides:
getRemoteHost in class RequestFilter
See Also:
ServletRequest

getRealPath

public java.lang.String getRealPath(java.lang.String path)
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getRealPath in interface javax.servlet.ServletRequest
Overrides:
getRealPath in class RequestFilter
See Also:
ServletRequest

getInputStream

public javax.servlet.ServletInputStream getInputStream()
                                                throws java.io.IOException
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getInputStream in interface javax.servlet.ServletRequest
Overrides:
getInputStream in class RequestFilter
java.io.IOException
See Also:
ServletRequest

getParameter

public java.lang.String getParameter(java.lang.String name)
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getParameter in interface javax.servlet.ServletRequest
Overrides:
getParameter in class RequestFilter
See Also:
ServletRequest

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String name)
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getParameterValues in interface javax.servlet.ServletRequest
Overrides:
getParameterValues in class RequestFilter
See Also:
ServletRequest

getParameterNames

public java.util.Enumeration getParameterNames()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getParameterNames in interface javax.servlet.ServletRequest
Overrides:
getParameterNames in class RequestFilter
See Also:
ServletRequest

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the ServletRequest documentation.

Specified by:
getAttribute in interface javax.servlet.ServletRequest
Overrides:
getAttribute in class RequestFilter
See Also:
ServletRequest

getMethod

public java.lang.String getMethod()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getMethod in interface javax.servlet.http.HttpServletRequest
Overrides:
getMethod in class RequestFilter
See Also:
HttpServletRequest

getRequestURI

public java.lang.String getRequestURI()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getRequestURI in interface javax.servlet.http.HttpServletRequest
Overrides:
getRequestURI in class RequestFilter
See Also:
HttpServletRequest

getServletPath

public java.lang.String getServletPath()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getServletPath in interface javax.servlet.http.HttpServletRequest
Overrides:
getServletPath in class RequestFilter
See Also:
HttpServletRequest

getPathInfo

public java.lang.String getPathInfo()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getPathInfo in interface javax.servlet.http.HttpServletRequest
Overrides:
getPathInfo in class RequestFilter
See Also:
HttpServletRequest

getPathTranslated

public java.lang.String getPathTranslated()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getPathTranslated in interface javax.servlet.http.HttpServletRequest
Overrides:
getPathTranslated in class RequestFilter
See Also:
HttpServletRequest

getQueryString

public java.lang.String getQueryString()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getQueryString in interface javax.servlet.http.HttpServletRequest
Overrides:
getQueryString in class RequestFilter
See Also:
HttpServletRequest

getRemoteUser

public java.lang.String getRemoteUser()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getRemoteUser in interface javax.servlet.http.HttpServletRequest
Overrides:
getRemoteUser in class RequestFilter
See Also:
HttpServletRequest

getAuthType

public java.lang.String getAuthType()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getAuthType in interface javax.servlet.http.HttpServletRequest
Overrides:
getAuthType in class RequestFilter
See Also:
HttpServletRequest

getHeader

public java.lang.String getHeader(java.lang.String name)
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getHeader in interface javax.servlet.http.HttpServletRequest
Overrides:
getHeader in class RequestFilter
See Also:
HttpServletRequest

getIntHeader

public int getIntHeader(java.lang.String name)
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getIntHeader in interface javax.servlet.http.HttpServletRequest
Overrides:
getIntHeader in class RequestFilter
See Also:
HttpServletRequest

getDateHeader

public long getDateHeader(java.lang.String name)
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getDateHeader in interface javax.servlet.http.HttpServletRequest
Overrides:
getDateHeader in class RequestFilter
See Also:
HttpServletRequest

getHeaderNames

public java.util.Enumeration getHeaderNames()
Description copied from class: RequestFilter
This call is passed on to the original HttpServletRequest object. For a description of what this call does, see the HttpServletRequest documentation.

Specified by:
getHeaderNames in interface javax.servlet.http.HttpServletRequest
Overrides:
getHeaderNames in class RequestFilter
See Also:
HttpServletRequest

Enhydra 5.1 API