org.apache.webdav.lib.methods
Class PostMethod

java.lang.Object
  |
  +--org.apache.webdav.lib.methods.WebdavMethodBase
        |
        +--org.apache.webdav.lib.methods.PostMethod
All Implemented Interfaces:
WebdavMethod

public class PostMethod
extends WebdavMethodBase

POST Method.

Author:
Remy Maucherat

Fields inherited from class org.apache.webdav.lib.methods.WebdavMethodBase
debug, headers, name, path, state, statusCode, statusText
 
Fields inherited from interface org.apache.webdav.lib.methods.WebdavMethod
PROTOCOL
 
Constructor Summary
PostMethod()
          Method constructor.
PostMethod(java.lang.String path)
          Method constructor.
 
Method Summary
 java.lang.String generateQuery()
          Generate the query body.
 void parseResponse(java.io.InputStream is)
          Parse response.
 
Methods inherited from class org.apache.webdav.lib.methods.WebdavMethodBase
checkNotUsed, checkUsed, followRedirects, generateHeaders, generateHeaders, generateRequestLine, getHeader, getHeaders, getName, getPath, getStatusCode, getStatusText, hasBeenUsed, isStreamedQuery, processResponseHeaders, recycle, removeHeader, setDebug, setHeader, setPath, setStatusCode, setStatusText, setUsed, streamQuery, validate
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostMethod

public PostMethod()
Method constructor.

PostMethod

public PostMethod(java.lang.String path)
Method constructor.
Method Detail

generateQuery

public java.lang.String generateQuery()
Generate the query body.
Overrides:
generateQuery in class WebdavMethodBase
Returns:
String query

parseResponse

public void parseResponse(java.io.InputStream is)
                   throws java.io.IOException
Parse response.
Overrides:
parseResponse in class WebdavMethodBase
Parameters:
is - Input stream