public class TLcdTransportAccessPoint
extends java.lang.Object
Constructor and Description |
---|
TLcdTransportAccessPoint(java.lang.String aMethod,
java.net.URI aUri)
Creates a transport request representation.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethod()
Gets the method name for this request.
|
java.net.URI |
getURI()
Gets the URI for this request.
|
java.lang.String |
toString()
Returns
"<HTTP method> <URI>" as string representation of this DCP type. |
public TLcdTransportAccessPoint(java.lang.String aMethod, java.net.URI aUri)
aMethod
- the name of the method, for example "GET"
or "POST"
aUri
- the URI of the online resource, for example http://localhost/LuciadFusion/lts
public java.lang.String getMethod()
"GET"
or "POST"
public java.net.URI getURI()
URI.isAbsolute()
.
A relative URI must be resolved against a base URI before it can
be used, using URI.resolve(URI relativeUri)
.public java.lang.String toString()
"<HTTP method> <URI>"
as string representation of this DCP type.toString
in class java.lang.Object