Package com.github.sardine.impl.handler
Class LockResponseHandler
java.lang.Object
com.github.sardine.impl.handler.ValidatingResponseHandler<String>
com.github.sardine.impl.handler.LockResponseHandler
- All Implemented Interfaces:
org.apache.http.client.ResponseHandler<String>
public class LockResponseHandler extends ValidatingResponseHandler<String>
-
Constructor Summary
Constructors Constructor Description LockResponseHandler() -
Method Summary
Modifier and Type Method Description protected StringgetToken(InputStream stream)Helper method for getting the Multistatus response processor.StringhandleResponse(org.apache.http.HttpResponse response)Methods inherited from class com.github.sardine.impl.handler.ValidatingResponseHandler
validateResponse
-
Constructor Details
-
LockResponseHandler
public LockResponseHandler()
-
-
Method Details
-
handleResponse
- Throws:
IOException
-
getToken
Helper method for getting the Multistatus response processor.- Parameters:
stream- The input to read the status- Returns:
- Multistatus element parsed from the stream
- Throws:
IOException- When there is a JAXB error
-