Class CmsDavInputContext

java.lang.Object
org.apache.jackrabbit.webdav.io.InputContextImpl
org.opencms.webdav.CmsDavInputContext
All Implemented Interfaces:
org.apache.jackrabbit.webdav.io.InputContext

public class CmsDavInputContext extends org.apache.jackrabbit.webdav.io.InputContextImpl
Input context that also allows querying the request method.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CmsDavInputContext(org.apache.jackrabbit.webdav.DavServletRequest request, InputStream stream)
    Creates a new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the request method for the current request.

    Methods inherited from class org.apache.jackrabbit.webdav.io.InputContextImpl

    getContentLanguage, getContentLength, getContentType, getInputStream, getModificationTime, getProperty, hasStream

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CmsDavInputContext

      public CmsDavInputContext(org.apache.jackrabbit.webdav.DavServletRequest request, InputStream stream)
      Creates a new instance.
      Parameters:
      request - the request
      stream - the stream
  • Method Details

    • getMethod

      public String getMethod()
      Gets the request method for the current request.
      Returns:
      the request method