Class TLcdTransportAccessPoint

java.lang.Object
com.luciad.io.transport.TLcdTransportAccessPoint

public class TLcdTransportAccessPoint extends Object
A representation of a transport request.

The request is described by a URI and an HTTP method name. The URI and the HTTP method can be used to make an HTTP request to the server.

Since:
11.0
  • Constructor Details

    • TLcdTransportAccessPoint

      public TLcdTransportAccessPoint(String aMethod, URI aUri)
      Creates a transport request representation.
      Parameters:
      aMethod - the name of the method, for example "GET" or "POST"
      aUri - the URI of the online resource, for example http://localhost/LuciadFusion/lts
  • Method Details

    • getMethod

      public String getMethod()
      Gets the method name for this request.
      Returns:
      the method name, for example "GET" or "POST"
    • getURI

      public URI getURI()
      Gets the URI for this request.

      The URI may be absolute or relative, as defined by URI.isAbsolute(). A relative URI must be resolved against a base URI before it can be used, using URI.resolve(URI relativeUri).

      Returns:
      the URI
    • toString

      public String toString()
      Returns "<HTTP method> <URI>" as string representation of this DCP type.
      Overrides:
      toString in class Object
      Returns:
      a string representation of this DCP type, containing the HTTP method name and the URI