Interface RemoteRepositorySearchTransport
- All Known Implementing Classes:
Java11HttpClientRemoteRepositorySearchTransport
public interface RemoteRepositorySearchTransport
A trivial "transport abstraction" to make possible pluggable implementations.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Trivial response. -
Method Summary
Modifier and TypeMethodDescriptionThis method should issue a HTTP GET requests usingserviceUri
and return response.This method should issue a HTTP HEAD requests usingserviceUri
and return response.
-
Method Details
-
get
RemoteRepositorySearchTransport.Response get(String serviceUri, Map<String, String> headers) throws IOExceptionThis method should issue a HTTP GET requests usingserviceUri
and return response.- Throws:
IOException
-
head
RemoteRepositorySearchTransport.Response head(String serviceUri, Map<String, String> headers) throws IOExceptionThis method should issue a HTTP HEAD requests usingserviceUri
and return response.- Throws:
IOException
-