|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| Method Summary | |
DAVFile |
getDAVFile()
|
byte[] |
getRequestBody()
returns the body of the request |
java.util.Map |
getRequestHeaders()
gets the headers of the request |
DAVMethodName |
getRequestMethodName()
returns the method name |
java.lang.String |
getRequestURL()
returns the path requested |
byte[] |
getResponseBody()
returns the body of the response |
java.util.Map |
getResponseHeaders()
|
int |
getStatus()
|
void |
processRequestBody()
a hook for processing the request body. |
void |
processRequestHeaders()
a hook for processing the request headers |
void |
processResponseBody()
a hook into processing the body of the response. |
void |
processResponseHeaders()
a hook for processing the response headers. |
void |
setHost(java.lang.String host)
sets the hostname |
void |
setPort(int port)
sets the port |
void |
setProtocol(java.lang.String protocol)
sets the protocol |
void |
setRequestBody(byte[] body)
sets the body of the request. |
void |
setRequestHeaders(java.util.Map headers)
sets the headers of the request |
void |
setResponseBody(byte[] body)
sets the body of the request. |
void |
setResponseHeaders(java.util.Map m)
used to populate the headers of the response |
void |
setStatus(int status)
used to the populate the status of the response |
| Method Detail |
public void processRequestHeaders()
public void processRequestBody()
public void processResponseHeaders()
public void processResponseBody()
throws MalformedXMLException
MalformedXMLException - if an XML response is expected
and it is not well-formed.public DAVFile getDAVFile()
public java.util.Map getResponseHeaders()
public void setResponseHeaders(java.util.Map m)
headers - a mapping of headers names to valuespublic byte[] getResponseBody()
public void setResponseBody(byte[] body)
b - the new request bodypublic int getStatus()
public void setStatus(int status)
status - the statuspublic java.util.Map getRequestHeaders()
public void setRequestHeaders(java.util.Map headers)
m - a map of header names and valuespublic DAVMethodName getRequestMethodName()
public java.lang.String getRequestURL()
public byte[] getRequestBody()
public void setRequestBody(byte[] body)
body - the new request bodypublic void setHost(java.lang.String host)
host - the hostnamepublic void setPort(int port)
port - the portpublic void setProtocol(java.lang.String protocol)
protocol - the protocol
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||