pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.webdav.request
Class HttpDAVServletRequest

java.lang.Object
  extended by javax.servlet.ServletRequestWrapper
      extended by javax.servlet.http.HttpServletRequestWrapper
          extended by org.torweg.pulse.webdav.request.HttpDAVServletRequest
All Implemented Interfaces:
javax.servlet.http.HttpServletRequest, javax.servlet.ServletRequest

public class HttpDAVServletRequest
extends javax.servlet.http.HttpServletRequestWrapper

is an extension to HttpServletResponse providing convenience methods.

Version:
$Revision: 1432 $
Author:
Thomas Weber

Field Summary
 
Fields inherited from interface javax.servlet.http.HttpServletRequest
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
 
Constructor Summary
HttpDAVServletRequest(javax.servlet.http.HttpServletRequest request)
          creates a new HttpDAVServletRequest.
 
Method Summary
 DAVMethod getDAVMethod()
          returns the DAVMethod of the request.
 Depth getDepth()
          returns the depth header value.
 java.lang.String getDestinationURI()
          returns the destination URI, if set by the destination header.
 IfHeader getIfHeader()
          returns the If-header.
 java.lang.String getRequestURI()
          returns the request URI.
 boolean isOverwrite()
          returns the value of the overwrite header.
 
Methods inherited from class javax.servlet.http.HttpServletRequestWrapper
getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole
 
Methods inherited from class javax.servlet.ServletRequestWrapper
getAttribute, 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
getAttribute, 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
 

Constructor Detail

HttpDAVServletRequest

public HttpDAVServletRequest(javax.servlet.http.HttpServletRequest request)
creates a new HttpDAVServletRequest.

Parameters:
request - the underlying request
Method Detail

getDAVMethod

public final DAVMethod getDAVMethod()
returns the DAVMethod of the request.

Returns:
the DAVMethod

getDestinationURI

public final java.lang.String getDestinationURI()
returns the destination URI, if set by the destination header.

Returns:
the destination URI or null

isOverwrite

public final boolean isOverwrite()
returns the value of the overwrite header.

Returns:
the overwrite header value

getIfHeader

public final IfHeader getIfHeader()
returns the If-header.

Returns:
the If-header

getDepth

public final Depth getDepth()
returns the depth header value.

Returns:
the depth header value

getRequestURI

public final java.lang.String getRequestURI()
returns the request URI.

Specified by:
getRequestURI in interface javax.servlet.http.HttpServletRequest
Overrides:
getRequestURI in class javax.servlet.http.HttpServletRequestWrapper
Returns:
the request URI
See Also:
HttpServletRequestWrapper.getRequestURI()