Class NfsLookupRequest

All Implemented Interfaces:
NfsRequest
Direct Known Subclasses:
Nfs3LookupRequest

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

Procedure LOOKUP searches a directory for a specific name and returns the file handle for the corresponding file system object.

  • Constructor Details

    • NfsLookupRequest

      public NfsLookupRequest(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 LOOKUP searches a directory for a specific name and returns the file handle for the corresponding file system object.

      Parameters:
      fileHandle - The file handle for the directory to search.
      name - The filename to be searched for.
      credential - The credential used for RPC authentication.
      nfsVersion - The NFS version number
      Throws:
      FileNotFoundException
  • Method Details