Class Nfs3RmdirRequest
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcRequest
com.emc.ecs.nfsclient.nfs.NfsRequestBase
com.emc.ecs.nfsclient.nfs.NfsRmdirRequest
com.emc.ecs.nfsclient.nfs.nfs3.Nfs3RmdirRequest
- All Implemented Interfaces:
NfsRequest
The request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
Procedure RMDIR removes (deletes) a subdirectory from a directory. If the directory entry of the subdirectory is the last reference to the subdirectory, the subdirectory may be destroyed.
-
Field Summary
Fields inherited from class RpcRequest
CHARSET -
Constructor Summary
ConstructorsConstructorDescriptionNfs3RmdirRequest(byte[] fileHandle, String name, Credential credential) Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813). -
Method Summary
Methods inherited from class NfsRmdirRequest
marshalling, toStringMethods inherited from class NfsRequestBase
getErrorMessage, getFileHandle, getIpKey, startToStringMethods inherited from class RpcRequest
cloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, trimFileName
-
Constructor Details
-
Nfs3RmdirRequest
public Nfs3RmdirRequest(byte[] fileHandle, String name, Credential credential) throws FileNotFoundException Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).Procedure RMDIR removes (deletes) a subdirectory from a directory. If the directory entry of the subdirectory is the last reference to the subdirectory, the subdirectory may be destroyed.
- Parameters:
fileHandle- The file handle for the directory from which the subdirectory is to be removed.name- The name of the subdirectory to be removed.credential- The credential used for RPC authentication.- Throws:
FileNotFoundException
-