public abstract class AbstractResponseParser<T extends Ds3Response>
extends java.lang.Object
Constructor and Description |
---|
AbstractResponseParser() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChecksum() |
ChecksumType.Type |
getChecksumType() |
WebResponse |
getResponse() |
int |
getStatusCode() |
protected java.lang.Integer |
parseIntHeader(java.lang.String key) |
abstract T |
parseXmlResponse(WebResponse response) |
T |
response(WebResponse response) |
public abstract T parseXmlResponse(WebResponse response) throws java.io.IOException
java.io.IOException
public T response(WebResponse response) throws java.io.IOException
java.io.IOException
public WebResponse getResponse()
public int getStatusCode()
protected java.lang.Integer parseIntHeader(java.lang.String key)
public java.lang.String getChecksum()
public ChecksumType.Type getChecksumType()