Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mortbay.jetty.servlet
Class Invoker.Request  view Invoker.Request download Invoker.Request.java

java.lang.Object
  extended byjavax.servlet.ServletRequestWrapper
      extended byjavax.servlet.http.HttpServletRequestWrapper
          extended byorg.mortbay.jetty.servlet.Invoker.Request
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest
Enclosing class:
Invoker

class Invoker.Request
extends javax.servlet.http.HttpServletRequestWrapper


Field Summary
(package private)  boolean _included
           
(package private)  java.lang.String _pathInfo
           
(package private)  java.lang.String _servletPath
           
 
Fields inherited from class javax.servlet.ServletRequestWrapper
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
(package private) Invoker.Request(javax.servlet.http.HttpServletRequest request, boolean included, java.lang.String name, java.lang.String servletPath, java.lang.String pathInfo)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.
 java.lang.String getPathInfo()
          The default behavior of this method is to return getPathInfo() on the wrapped request object.
 java.lang.String getServletPath()
          The default behavior of this method is to return getServletPath() on the wrapped request object.
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding, setRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletRequest
getAttributeNames, getCharacterEncoding, getContentLength, getContentType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, isSecure, removeAttribute, setAttribute, setCharacterEncoding
 

Field Detail

_servletPath

java.lang.String _servletPath

_pathInfo

java.lang.String _pathInfo

_included

boolean _included
Constructor Detail

Invoker.Request

Invoker.Request(javax.servlet.http.HttpServletRequest request,
                boolean included,
                java.lang.String name,
                java.lang.String servletPath,
                java.lang.String pathInfo)
Method Detail

getServletPath

public java.lang.String getServletPath()
Description copied from class: javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getServletPath() on the wrapped request object.


getPathInfo

public java.lang.String getPathInfo()
Description copied from class: javax.servlet.http.HttpServletRequestWrapper
The default behavior of this method is to return getPathInfo() on the wrapped request object.


getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Description copied from interface: javax.servlet.ServletRequest
Returns the value of the named attribute as an Object, or null if no attribute of the given name exists.

Attributes can be set two ways. The servlet container may set attributes to make available custom information about a request. For example, for requests made using HTTPS, the attribute javax.servlet.request.X509Certificate can be used to retrieve information on the certificate of the client. Attributes can also be set programatically using ServletRequest.setAttribute(java.lang.String, java.lang.Object)>ServletRequest.setAttribute(java.lang.String, java.lang.Object) 55 . This allows information to be embedded into a request before a javax.servlet.RequestDispatcher call.

Attribute names should follow the same conventions as package names. This specification reserves names matching java.*, javax.*, and sun.*.