public class URLConnectionClientExecutor extends Object implements ClientExecutor
Constructor and Description |
---|
URLConnectionClientExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected HttpURLConnection |
createConnection(ClientRequest request) |
ClientRequest |
createRequest(String uriTemplate) |
ClientRequest |
createRequest(UriBuilder uriBuilder) |
ClientResponse<?> |
execute(ClientRequest request) |
public ClientResponse<?> execute(ClientRequest request) throws Exception
execute
in interface ClientExecutor
Exception
public ClientRequest createRequest(String uriTemplate)
createRequest
in interface ClientExecutor
public ClientRequest createRequest(UriBuilder uriBuilder)
createRequest
in interface ClientExecutor
protected HttpURLConnection createConnection(ClientRequest request) throws Exception
Exception
public void close()
close
in interface ClientExecutor
Copyright © 2021 JBoss by Red Hat. All rights reserved.