|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.re.webdav.Client.Response
public static class Client.Response
Contains the response of a WebDAV operation.
| Constructor Summary | |
|---|---|
Client.Response(URL url,
String method,
Headers headers)
|
|
Client.Response(URL url,
String method,
Headers headers,
InputStream body)
|
|
| Method Summary | |
|---|---|
void |
close()
Frees the underlying resources. |
Document |
createDocument()
Creates a DOM document from the response body. |
InputStream |
getBody()
Returns the response body. |
Headers |
getHeaders()
Returns the response headers. |
String |
getMethod()
Returns the request method. |
int |
getStatusCode()
Returns the status code. |
String |
getStatusMessage()
Returns the status message in the status line of the response. |
URL |
getUrl()
Returns the request URL. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Client.Response(URL url,
String method,
Headers headers)
throws IOException
IOException
public Client.Response(URL url,
String method,
Headers headers,
InputStream body)
throws IOException
IOException| Method Detail |
|---|
public void close()
throws IOException
IOException
public Document createDocument()
throws IOException
getBody
method will return null.
IOExceptionpublic InputStream getBody()
createDocument method will return
null.
public Headers getHeaders()
public String getMethod()
public int getStatusCode()
public String getStatusMessage()
public URL getUrl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||