Class NfsResponseHandler<T extends NfsResponseBase>
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcResponseHandler<T>
com.emc.ecs.nfsclient.nfs.NfsResponseHandler<T>
The NFS response handler, used in the wrapper class for post-response actions, including error
checking. This base class performs just basic response correctness checking that applies to all
NFS responses.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckResponse(RpcRequest request) This is implemented in all concrete subclasses to check responses for validity, and throws an IOException if the response indicates that the request failed.Methods inherited from class RpcResponseHandler
getNewResponse, getResponse, makeNewResponse
-
Constructor Details
-
NfsResponseHandler
public NfsResponseHandler()
-
-
Method Details
-
checkResponse
This is implemented in all concrete subclasses to check responses for validity, and throws an IOException if the response indicates that the request failed.- Specified by:
checkResponsein classRpcResponseHandler<T extends NfsResponseBase>- Parameters:
request- This is used for error messages, to aid debugging, since the response will likely not have enough data to determine the request that caused it.- Throws:
IOException
-