Class Java11HttpClientTransport
java.lang.Object
org.apache.maven.search.api.transport.Java11HttpClientTransport
- All Implemented Interfaces:
- Transport
Java 11 
HttpClient backed transport.- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface org.apache.maven.search.api.transport.TransportTransport.Response
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionJava11HttpClientTransport(Duration timeout) Java11HttpClientTransport(Duration timeout, HttpClient client) 
- 
Method SummaryModifier and TypeMethodDescriptionThis method should issue HTTP GET requests usingserviceUriand return response.This method should issue HTTP HEAD requests usingserviceUriand return response.
- 
Field Details- 
timeout
- 
client
 
- 
- 
Constructor Details- 
Java11HttpClientTransportpublic Java11HttpClientTransport()
- 
Java11HttpClientTransport
- 
Java11HttpClientTransport
 
- 
- 
Method Details- 
getDescription copied from interface:TransportThis method should issue HTTP GET requests usingserviceUriand return response.- Specified by:
- getin interface- Transport
- Throws:
- IOException
 
- 
headDescription copied from interface:TransportThis method should issue HTTP HEAD requests usingserviceUriand return response.- Specified by:
- headin interface- Transport
- Throws:
- IOException
 
 
-