public abstract class NfsResponseHandler<T extends NfsResponseBase> extends RpcResponseHandler<T>
| Constructor and Description |
|---|
NfsResponseHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkResponse(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.
|
getNewResponse, getResponse, makeNewResponsepublic void checkResponse(RpcRequest request) throws java.io.IOException
RpcResponseHandlercheckResponse in class RpcResponseHandler<T extends NfsResponseBase>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.java.io.IOException