public class Nfs3SetAttrRequest extends NfsSetAttrRequest
Procedure SETATTR changes one or more of the attributes of a file system object on the server.
CHARSET| Constructor and Description |
|---|
Nfs3SetAttrRequest(byte[] fileHandle,
NfsSetAttributes attributes,
NfsTime guardTime,
Credential credential)
Creates the request, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
|
marshalling, toStringgetErrorMessage, getFileHandle, getIpKey, startToStringcloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, trimFileNamepublic Nfs3SetAttrRequest(byte[] fileHandle,
NfsSetAttributes attributes,
NfsTime guardTime,
Credential credential)
throws java.io.FileNotFoundException
Procedure SETATTR changes one or more of the attributes of a file system object on the server.
fileHandle - The file handle for the object.attributes - The attributes to set.guardTime - If guardTime is not null, the server must compare
the value of guardTime to the current ctime of
the object. If the values are different, the server must
preserve the object attributes and must return a status of
NFS3ERR_NOT_SYNC.credential - The credential used for RPC authentication.java.io.FileNotFoundException