public class JavaNetConnectionEngine extends Object implements org.jboss.resteasy.client.jaxrs.ClientHttpEngine
ClientHttpEngine
that uses HttpURLConnection
to connect to an Http endpoint.Modifier and Type | Field and Description |
---|---|
protected HostnameVerifier |
hostnameVerifier |
protected SSLContext |
sslContext |
Constructor and Description |
---|
JavaNetConnectionEngine() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
commitHeaders(org.jboss.resteasy.client.jaxrs.internal.ClientInvocation request,
HttpURLConnection connection) |
protected HttpURLConnection |
createConnection(org.jboss.resteasy.client.jaxrs.internal.ClientInvocation request) |
protected void |
executeRequest(org.jboss.resteasy.client.jaxrs.internal.ClientInvocation request,
HttpURLConnection connection) |
protected javax.ws.rs.core.MultivaluedMap<String,String> |
getHeaders(HttpURLConnection connection) |
HostnameVerifier |
getHostnameVerifier() |
SSLContext |
getSslContext() |
org.jboss.resteasy.client.jaxrs.internal.ClientResponse |
invoke(org.jboss.resteasy.client.jaxrs.internal.ClientInvocation request) |
void |
setHostnameVerifier(HostnameVerifier hostnameVerifier) |
void |
setSslContext(SSLContext sslContext) |
protected SSLContext sslContext
protected HostnameVerifier hostnameVerifier
public org.jboss.resteasy.client.jaxrs.internal.ClientResponse invoke(org.jboss.resteasy.client.jaxrs.internal.ClientInvocation request)
invoke
in interface org.jboss.resteasy.client.jaxrs.ClientHttpEngine
protected javax.ws.rs.core.MultivaluedMap<String,String> getHeaders(HttpURLConnection connection)
public void close()
close
in interface org.jboss.resteasy.client.jaxrs.ClientHttpEngine
protected HttpURLConnection createConnection(org.jboss.resteasy.client.jaxrs.internal.ClientInvocation request) throws IOException
IOException
protected void executeRequest(org.jboss.resteasy.client.jaxrs.internal.ClientInvocation request, HttpURLConnection connection)
protected void commitHeaders(org.jboss.resteasy.client.jaxrs.internal.ClientInvocation request, HttpURLConnection connection)
public SSLContext getSslContext()
getSslContext
in interface org.jboss.resteasy.client.jaxrs.ClientHttpEngine
public HostnameVerifier getHostnameVerifier()
getHostnameVerifier
in interface org.jboss.resteasy.client.jaxrs.ClientHttpEngine
public void setSslContext(SSLContext sslContext)
public void setHostnameVerifier(HostnameVerifier hostnameVerifier)
Copyright © 2018. All rights reserved.