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
ConstructorDescriptionTLcdTransportAccessPoint
(String aMethod, URI aUri) Creates a transport request representation. -
Method Summary
-
Constructor Details
-
TLcdTransportAccessPoint
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 examplehttp://localhost/LuciadFusion/lts
-
-
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 byURI.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.
-