Class NfsRmdirRequest

All Implemented Interfaces:
NfsRequest
Direct Known Subclasses:
Nfs3RmdirRequest

public class NfsRmdirRequest extends NfsRequestBase
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.

  • Constructor Details

    • NfsRmdirRequest

      public NfsRmdirRequest(byte[] fileHandle, String name, Credential credential, int nfsVersion) 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.
      nfsVersion - The NFS version number
      Throws:
      FileNotFoundException
  • Method Details