Class Nfs3SymlinkRequest
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcRequest
com.emc.ecs.nfsclient.nfs.NfsRequestBase
com.emc.ecs.nfsclient.nfs.NfsSymlinkRequest
com.emc.ecs.nfsclient.nfs.nfs3.Nfs3SymlinkRequest
- All Implemented Interfaces:
NfsRequest
The request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
Procedure SYMLINK creates a new symbolic link.
-
Field Summary
Fields inherited from class RpcRequest
CHARSET -
Constructor Summary
ConstructorsConstructorDescriptionNfs3SymlinkRequest(String symbolicLinkData, byte[] fileHandle, String name, NfsSetAttributes attributes, Credential credential) Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813). -
Method Summary
Methods inherited from class NfsSymlinkRequest
marshalling, toStringMethods inherited from class NfsRequestBase
getErrorMessage, getFileHandle, getIpKey, startToStringMethods inherited from class RpcRequest
cloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, trimFileName
-
Constructor Details
-
Nfs3SymlinkRequest
public Nfs3SymlinkRequest(String symbolicLinkData, byte[] fileHandle, String name, NfsSetAttributes attributes, Credential credential) throws FileNotFoundException Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).Procedure SYMLINK creates a new symbolic link.
- Parameters:
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.- Throws:
FileNotFoundException
-