|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HttpDestination
HttpDestination
interface provides instances of the HttpClient
which are
responsible for
authenticating the requests to the remote systems according to the
destination configuration.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.sap.core.connectivity.api.Destination |
---|
getName |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |