public interface ILcdOWSTransport
Modifier and Type | Method and Description |
---|---|
default boolean |
canPerformRequest(TLcdOWSOperation aOperation,
ILcdOWSRequest aRequest)
Fast check to see whether or not this transport is capable of performing the request.
|
TLcdOWSDCP |
createDCP(URI aURI)
Creates an OpenGIS Web Service DCP that can be used to access the specified URI using this transport.
|
boolean |
isCompatibleURI(URI aUri)
Determines whether the specified URI is compatible with this transport.
|
TLcdOWSInputStream |
performRequest(TLcdOWSOperation aOperation,
ILcdOWSRequest aRequest)
Performs the specified operation passing in the parameters defined in the request object.
|
default boolean canPerformRequest(TLcdOWSOperation aOperation, ILcdOWSRequest aRequest)
Fast check to see whether or not this transport is capable of performing the request.
When this method returns false
, performRequest(TLcdOWSOperation, ILcdOWSRequest)
will not be
capable of performing the request and throw an error.
When this method returns true
, it is still possible that calling performRequest(TLcdOWSOperation, ILcdOWSRequest)
throws an error (for example when the server is offline).
The default implementation returns true
.
aOperation
- The operationaRequest
- The request parametersfalse
when this transport cannot perform the request, true
when this transport probably can perform the request.TLcdOWSInputStream performRequest(TLcdOWSOperation aOperation, ILcdOWSRequest aRequest) throws TLcdOWSTransportException
aOperation
- the operation to performaRequest
- the request parametersTLcdOWSTransportException
- if an error occurs in the transport layerboolean isCompatibleURI(URI aUri)
aUri
- the URI to testTLcdOWSDCP createDCP(URI aURI)
TLcdOWSOperation
object that is needed to perform initial requests (in other words,
requests that need to be performed before web service metadata has been retrieved).aURI
- the URINullPointerException
- if the specified URI is nullIllegalArgumentException
- if the specified URI is not compatible with this transport