it.could.webdav
Class DAVMultiStatus

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byit.could.webdav.DAVException
                  extended byit.could.webdav.DAVMultiStatus
All Implemented Interfaces:
Serializable

public class DAVMultiStatus
extends DAVException

A DAVException representing a WebDAV 207 (Multi-Status) response.

Author:
Pier Fumagalli
See Also:
Serialized Form

Constructor Summary
DAVMultiStatus()
          Create a new DAVMultiStatus instance.
 
Method Summary
 void merge(DAVException exception)
          Merge the details held into the specified DAVException into this instance.
 void merge(DAVMultiStatus multistatus)
          Merge the responses held into the specified DAVMultiStatus into this instance.
 int size()
          Return the number of responses held in this instance.
 void write(DAVTransaction transaction)
          Write the body of the multi-status response to the specified DAVTransaction's output.
 
Methods inherited from class it.could.webdav.DAVException
getResource, getStatus
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DAVMultiStatus

public DAVMultiStatus()

Create a new DAVMultiStatus instance.

Method Detail

write

public void write(DAVTransaction transaction)
           throws IOException

Write the body of the multi-status response to the specified DAVTransaction's output.

Overrides:
write in class DAVException
Throws:
IOException

size

public int size()

Return the number of responses held in this instance.


merge

public void merge(DAVMultiStatus multistatus)

Merge the responses held into the specified DAVMultiStatus into this instance.


merge

public void merge(DAVException exception)

Merge the details held into the specified DAVException into this instance.