pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.webdav.response
Class PropPatchResponse

java.lang.Object
  extended by org.torweg.pulse.webdav.response.MultiStatusResponse
      extended by org.torweg.pulse.webdav.response.PropPatchResponse

public final class PropPatchResponse
extends MultiStatusResponse

a response to a PROPPATCH request.

Version:
$Revision: 1809 $
Author:
Thomas Weber

Constructor Summary
PropPatchResponse(PropPatchRequest.PropPatchOperation f, java.lang.String m, PropPatchRequest r, HttpDAVServletResponse resp)
          creates a PropPatchResponse for a failed request.
PropPatchResponse(PropPatchRequest r, HttpDAVServletResponse resp)
          creates a PropPatchResponse for a successful request.
 
Method Summary
 
Methods inherited from class org.torweg.pulse.webdav.response.MultiStatusResponse
add, closeResponse, getCleanURIString, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropPatchResponse

public PropPatchResponse(PropPatchRequest.PropPatchOperation f,
                         java.lang.String m, PropPatchRequest r, HttpDAVServletResponse resp)
creates a PropPatchResponse for a failed request.

Parameters:
f - the operation that failed
m - the failure message
r - the original PROPPATCH request
resp - the underlying HttpDAVServletResponse response for sending the PROPPATCH response

PropPatchResponse

public PropPatchResponse(PropPatchRequest r, HttpDAVServletResponse resp)
creates a PropPatchResponse for a successful request.

Parameters:
r - the original PROPPATCH request
resp - the underlying HttpDAVServletResponse response for sending the PROPPATCH response