public class NfsSymlinkRequest extends NfsRequestBase
Procedure SYMLINK creates a new symbolic link.
CHARSET| Constructor and Description |
|---|
NfsSymlinkRequest(java.lang.String symbolicLinkData,
byte[] fileHandle,
java.lang.String name,
NfsSetAttributes attributes,
Credential credential,
int nfsVersion)
Creates the request, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
|
| Modifier and Type | Method and Description |
|---|---|
void |
marshalling(Xdr xdr)
Transfer data to an Xdr object for RPC use.
|
java.lang.String |
toString() |
getErrorMessage, getFileHandle, getIpKey, startToStringcloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, trimFileNamepublic NfsSymlinkRequest(java.lang.String symbolicLinkData,
byte[] fileHandle,
java.lang.String name,
NfsSetAttributes attributes,
Credential credential,
int nfsVersion)
throws java.io.FileNotFoundException
Procedure SYMLINK creates a new symbolic link.
symbolicLinkData - The string containing the symbolic link data.fileHandle - The file handle for the directory in which the symbolic link
is to be created.name - The name that is to be associated with the created symbolic
link.attributes - The initial attributes for the symbolic link.credential - The credential used for RPC authentication.nfsVersion - The NFS version numberjava.io.FileNotFoundExceptionpublic void marshalling(Xdr xdr)
NfsRequestmarshalling in interface NfsRequestmarshalling in class NfsRequestBasexdr - the Xdr to be sent.public java.lang.String toString()
toString in class java.lang.Object