Package com.luciad.io.transport
Class TLcdTransportAccessPoint
java.lang.Object
com.luciad.io.transport.TLcdTransportAccessPoint
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 Summary
ConstructorsConstructorDescriptionTLcdTransportAccessPoint
(String aMethod, URI aUri) Creates a transport request representation. -
Method Summary
-
Constructor Details
-
Method Details
-
getMethod
Gets the method name for this request.- Returns:
- the method name, for example
"GET"
or"POST"
-
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, usingURI.resolve(URI relativeUri)
.- Returns:
- the URI
-
toString
Returns"<HTTP method> <URI>"
as string representation of this DCP type.
-