Class NfsGetAttrRequest
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcRequest
com.emc.ecs.nfsclient.nfs.NfsRequestBase
com.emc.ecs.nfsclient.nfs.NfsGetAttrRequest
- All Implemented Interfaces:
NfsRequest
- Direct Known Subclasses:
Nfs3GetAttrRequest
The request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
Procedure GETATTR retrieves the attributes for a specified file system object. The object is identified by the file handle that the server returned as part of the response from a LOOKUP, CREATE, MKDIR, SYMLINK, MKNOD, or READDIRPLUS procedure (or from the MOUNT service, described elsewhere).
-
Field Summary
Fields inherited from class RpcRequest
CHARSET -
Constructor Summary
ConstructorsConstructorDescriptionNfsGetAttrRequest(byte[] fileHandle, Credential credential, int nfsVersion) Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813). -
Method Summary
Methods inherited from class NfsRequestBase
getErrorMessage, getFileHandle, getIpKey, marshalling, startToStringMethods inherited from class RpcRequest
cloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, trimFileName
-
Constructor Details
-
NfsGetAttrRequest
public NfsGetAttrRequest(byte[] fileHandle, Credential credential, int nfsVersion) throws FileNotFoundException Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).Procedure GETATTR retrieves the attributes for a specified file system object. The object is identified by the file handle that the server returned as part of the response from a LOOKUP, CREATE, MKDIR, SYMLINK, MKNOD, or READDIRPLUS procedure (or from the MOUNT service, described elsewhere).
- Parameters:
fileHandle- The file handle of an object whose attributes are to be retrieved.credential- The credential used for RPC authentication.nfsVersion- The NFS version number- Throws:
FileNotFoundException
-
-
Method Details
-
toString
-