Class VitamApacheHttpClientEngine
- java.lang.Object
-
- fr.gouv.vitam.common.external.client.VitamApacheHttpClientEngine
-
- All Implemented Interfaces:
org.jboss.resteasy.client.jaxrs.ClientHttpEngine
public class VitamApacheHttpClientEngine extends java.lang.Object implements org.jboss.resteasy.client.jaxrs.ClientHttpEngine
Vtam Specific Apache Http Client Engine In particular, handle chunk mode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VitamApacheHttpClientEngine.VitamConnectionReuseStrategy
Default implementation of a strategy deciding about connection re-use.
-
Constructor Summary
Constructors Constructor Description VitamApacheHttpClientEngine(java.util.Map<VitamRestEasyConfiguration,java.lang.Object> config)
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
javax.net.ssl.HostnameVerifier
getHostnameVerifier()
javax.net.ssl.SSLContext
getSslContext()
org.jboss.resteasy.client.jaxrs.internal.ClientResponse
invoke(javax.ws.rs.client.Invocation clientInvocation)
java.lang.String
toString()
-
-
-
Constructor Detail
-
VitamApacheHttpClientEngine
public VitamApacheHttpClientEngine(java.util.Map<VitamRestEasyConfiguration,java.lang.Object> config)
Default constructor- Parameters:
config
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getSslContext
public javax.net.ssl.SSLContext getSslContext()
- Specified by:
getSslContext
in interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
getHostnameVerifier
public javax.net.ssl.HostnameVerifier getHostnameVerifier()
- Specified by:
getHostnameVerifier
in interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
invoke
public org.jboss.resteasy.client.jaxrs.internal.ClientResponse invoke(javax.ws.rs.client.Invocation clientInvocation)
- Specified by:
invoke
in interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
close
public void close()
- Specified by:
close
in interfaceorg.jboss.resteasy.client.jaxrs.ClientHttpEngine
-
-