public class NfsGetAttrRequest extends NfsRequestBase
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).
CHARSET| Constructor and Description |
|---|
NfsGetAttrRequest(byte[] fileHandle,
Credential credential,
int nfsVersion)
Creates the request, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
getErrorMessage, getFileHandle, getIpKey, marshalling, startToStringcloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, trimFileNamepublic NfsGetAttrRequest(byte[] fileHandle,
Credential credential,
int nfsVersion)
throws java.io.FileNotFoundException
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).
fileHandle - The file handle of an object whose attributes are to be
retrieved.credential - The credential used for RPC authentication.nfsVersion - The NFS version numberjava.io.FileNotFoundException