net.netheos.pcsapi.request
Interface ResponseValidator<T>

Type Parameters:
T - The request result to validate

public interface ResponseValidator<T>

Represents an object that validates an HTTP response


Method Summary
 void validateResponse(T response, CPath path)
          Validate the response
 

Method Detail

validateResponse

void validateResponse(T response,
                      CPath path)
                      throws CStorageException
Validate the response

Parameters:
response - The response to validate
path - The file path used in the request (may be null)
Throws:
CStorageException - Invalid response


Copyright © 2014. All Rights Reserved.