public interface HttpDestination extends Destination
HttpDestination
interface provides instances of the HttpClient
which are
responsible for
authenticating the requests to the remote systems according to the
destination configuration.Modifier and Type | Method and Description |
---|---|
HttpClient |
createHttpClient()
A method to obtain an instance of
HttpClient with the corresponding configuration
at the time of the method call. |
URI |
getURI()
Returns the value of the URL property in the destination configuration this
HttpDestination instance
is referring to. |
getName
HttpClient createHttpClient() throws DestinationException
HttpClient
with the corresponding configuration
at the time of the method call.
Subsequent changes to the configuration of the destination will not affect the already created instances of
HttpClient
and the method should be called again instead.HttpClient
which is responsible to authenticate the
requests to the remote
systems according the destination configuration.DestinationException
- if the destination is not available anymore or the HttpClient
cannot
be created due to a configuration issue.URI getURI() throws URISyntaxException
HttpDestination
instance
is referring to. The returned value is converted to java.net.URI
format. java.net.URI
.URISyntaxException
- when the URL specified in the configuration cannot be presented as URI.Copyright © 2016 SAP. All Rights Reserved.