Class NfsRemoveRequest

All Implemented Interfaces:
NfsRequest
Direct Known Subclasses:
Nfs3RemoveRequest

public class NfsRemoveRequest extends NfsRequestBase
The request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).

Procedure REMOVE removes (deletes) an entry from a directory. If the entry in the directory was the last reference to the corresponding file system object, the object may be destroyed.

  • Constructor Details

    • NfsRemoveRequest

      public NfsRemoveRequest(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 REMOVE removes (deletes) an entry from a directory. If the entry in the directory was the last reference to the corresponding file system object, the object may be destroyed.

      Parameters:
      fileHandle - The file handle for the directory from which the entry is to be removed.
      name - The name of the entry to be removed.
      credential - The credential used for RPC authentication.
      nfsVersion - The NFS version number
      Throws:
      FileNotFoundException
  • Method Details