| |
|
| org.skunk.dav.client.DAVMethod
All known Subclasses: org.skunk.dav.client.AbstractDAVMethod,
DAVMethod | public interface DAVMethod (Code) | | |
getDAVFile | DAVFile getDAVFile()(Code) | | the DAVFile corresponding to the resourceURL. |
getRequestBody | byte[] getRequestBody()(Code) | | returns the body of the request
the body of the request, if any, or null |
getRequestHeaders | Map getRequestHeaders()(Code) | | gets the headers of the request
the request headers |
getRequestMethodName | DAVMethodName getRequestMethodName()(Code) | | returns the method name
the DAVMethodName of the method |
getRequestURL | String getRequestURL()(Code) | | returns the path requested
the path requested. |
getResponseBody | byte[] getResponseBody()(Code) | | returns the body of the response
the body of the response |
getResponseHeaders | Map getResponseHeaders()(Code) | | the headers of the response |
getStatus | int getStatus()(Code) | | the status of the response |
processRequestBody | void processRequestBody()(Code) | | a hook for processing the request body.
|
processRequestHeaders | void processRequestHeaders()(Code) | | a hook for processing the request headers
|
processResponseHeaders | void processResponseHeaders()(Code) | | a hook for processing the response headers.
|
setHost | void setHost(String host)(Code) | | sets the hostname
Parameters: host - the hostname |
setPort | void setPort(int port)(Code) | | sets the port
Parameters: port - the port |
setProtocol | void setProtocol(String protocol)(Code) | | sets the protocol
Parameters: protocol - the protocol |
setRequestBody | void setRequestBody(byte[] body)(Code) | | sets the body of the request.
Parameters: body - the new request body |
setRequestHeaders | void setRequestHeaders(Map headers)(Code) | | sets the headers of the request
Parameters: m - a map of header names and values |
setResponseBody | void setResponseBody(byte[] body)(Code) | | sets the body of the request.
Parameters: b - the new request body |
setResponseHeaders | void setResponseHeaders(Map m)(Code) | | used to populate the headers of the response
Parameters: headers - a mapping of headers names to values |
setStatus | void setStatus(int status)(Code) | | used to the populate the status of the response
Parameters: status - the status |
|
|
|