public final class WrappedClient
extends java.lang.Object
implements org.vertx.java.core.http.HttpClient
Constructor and Description |
---|
WrappedClient(org.vertx.java.core.http.HttpClient hc) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.vertx.java.core.http.HttpClientRequest |
connect(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
org.vertx.java.core.http.HttpClient |
connectWebsocket(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.WebSocket> wsConnect) |
org.vertx.java.core.http.HttpClient |
connectWebsocket(java.lang.String uri,
org.vertx.java.core.http.WebSocketVersion wsVersion,
org.vertx.java.core.Handler<org.vertx.java.core.http.WebSocket> wsConnect) |
org.vertx.java.core.http.HttpClient |
connectWebsocket(java.lang.String uri,
org.vertx.java.core.http.WebSocketVersion wsVersion,
org.vertx.java.core.MultiMap headers,
org.vertx.java.core.Handler<org.vertx.java.core.http.WebSocket> wsConnect) |
org.vertx.java.core.http.HttpClient |
connectWebsocket(java.lang.String uri,
org.vertx.java.core.http.WebSocketVersion wsVersion,
org.vertx.java.core.MultiMap headers,
java.util.Set<java.lang.String> subprotocols,
org.vertx.java.core.Handler<org.vertx.java.core.http.WebSocket> wsConnect) |
org.vertx.java.core.http.HttpClientRequest |
delete(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
org.vertx.java.core.http.HttpClient |
exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler) |
org.vertx.java.core.http.HttpClientRequest |
get(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
int |
getConnectionMaxOutstandingRequestCount() |
int |
getConnectTimeout() |
java.lang.String |
getHost() |
java.lang.String |
getKeyStorePassword() |
java.lang.String |
getKeyStorePath() |
int |
getMaxPoolSize() |
int |
getMaxWaiterQueueSize() |
int |
getMaxWebSocketFrameSize() |
org.vertx.java.core.http.HttpClient |
getNow(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
org.vertx.java.core.http.HttpClient |
getNow(java.lang.String uri,
org.vertx.java.core.MultiMap headers,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
int |
getPort() |
int |
getReceiveBufferSize() |
int |
getSendBufferSize() |
int |
getSoLinger() |
int |
getTrafficClass() |
java.lang.String |
getTrustStorePassword() |
java.lang.String |
getTrustStorePath() |
boolean |
getTryUseCompression() |
org.vertx.java.core.http.HttpClientRequest |
head(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
boolean |
isKeepAlive() |
boolean |
isPipelining() |
boolean |
isReuseAddress() |
boolean |
isSSL() |
boolean |
isTCPKeepAlive() |
boolean |
isTCPNoDelay() |
boolean |
isTrustAll() |
boolean |
isUsePooledBuffers() |
boolean |
isVerifyHost() |
org.vertx.java.core.http.HttpClientRequest |
options(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
org.vertx.java.core.http.HttpClientRequest |
patch(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
org.vertx.java.core.http.HttpClientRequest |
post(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
org.vertx.java.core.http.HttpClientRequest |
put(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
org.vertx.java.core.http.HttpClientRequest |
request(java.lang.String method,
java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
org.vertx.java.core.http.HttpClient |
setConnectionMaxOutstandingRequestCount(int connectionMaxOutstandingRequestCount) |
org.vertx.java.core.http.HttpClient |
setConnectTimeout(int timeout) |
org.vertx.java.core.http.HttpClient |
setHost(java.lang.String host) |
org.vertx.java.core.http.HttpClient |
setKeepAlive(boolean keepAlive) |
org.vertx.java.core.http.HttpClient |
setKeyStorePassword(java.lang.String pwd) |
org.vertx.java.core.http.HttpClient |
setKeyStorePath(java.lang.String path) |
org.vertx.java.core.http.HttpClient |
setMaxPoolSize(int maxConnections) |
org.vertx.java.core.http.HttpClient |
setMaxWaiterQueueSize(int maxWaiterQueueSize) |
org.vertx.java.core.http.HttpClient |
setMaxWebSocketFrameSize(int maxSize) |
org.vertx.java.core.http.HttpClient |
setPipelining(boolean pipelining) |
org.vertx.java.core.http.HttpClient |
setPort(int port) |
org.vertx.java.core.http.HttpClient |
setReceiveBufferSize(int size) |
org.vertx.java.core.http.HttpClient |
setReuseAddress(boolean reuse) |
org.vertx.java.core.http.HttpClient |
setSendBufferSize(int size) |
org.vertx.java.core.http.HttpClient |
setSoLinger(int linger) |
org.vertx.java.core.http.HttpClient |
setSSL(boolean ssl) |
org.vertx.java.core.http.HttpClient |
setSSLContext(javax.net.ssl.SSLContext sslContext) |
org.vertx.java.core.http.HttpClient |
setTCPKeepAlive(boolean keepAlive) |
org.vertx.java.core.http.HttpClient |
setTCPNoDelay(boolean tcpNoDelay) |
org.vertx.java.core.http.HttpClient |
setTrafficClass(int trafficClass) |
org.vertx.java.core.http.HttpClient |
setTrustAll(boolean trustAll) |
org.vertx.java.core.http.HttpClient |
setTrustStorePassword(java.lang.String pwd) |
org.vertx.java.core.http.HttpClient |
setTrustStorePath(java.lang.String path) |
org.vertx.java.core.http.HttpClient |
setTryUseCompression(boolean tryUseCompression) |
org.vertx.java.core.http.HttpClient |
setUsePooledBuffers(boolean pooledBuffers) |
org.vertx.java.core.http.HttpClient |
setVerifyHost(boolean verifyHost) |
org.vertx.java.core.http.HttpClientRequest |
trace(java.lang.String uri,
org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler) |
public org.vertx.java.core.http.HttpClient setTCPNoDelay(boolean tcpNoDelay)
setTCPNoDelay
in interface org.vertx.java.core.TCPSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setTrustAll(boolean trustAll)
setTrustAll
in interface org.vertx.java.core.ClientSSLSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setSSL(boolean ssl)
setSSL
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setSendBufferSize(int size)
setSendBufferSize
in interface org.vertx.java.core.NetworkSupport<org.vertx.java.core.http.HttpClient>
public boolean isSSL()
isSSL
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setSSLContext(javax.net.ssl.SSLContext sslContext)
setSSLContext
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setTCPKeepAlive(boolean keepAlive)
setTCPKeepAlive
in interface org.vertx.java.core.TCPSupport<org.vertx.java.core.http.HttpClient>
public boolean isTrustAll()
isTrustAll
in interface org.vertx.java.core.ClientSSLSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setReceiveBufferSize(int size)
setReceiveBufferSize
in interface org.vertx.java.core.NetworkSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setSoLinger(int linger)
setSoLinger
in interface org.vertx.java.core.TCPSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setReuseAddress(boolean reuse)
setReuseAddress
in interface org.vertx.java.core.NetworkSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setKeyStorePath(java.lang.String path)
setKeyStorePath
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setTrafficClass(int trafficClass)
setTrafficClass
in interface org.vertx.java.core.NetworkSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setUsePooledBuffers(boolean pooledBuffers)
setUsePooledBuffers
in interface org.vertx.java.core.TCPSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient exceptionHandler(org.vertx.java.core.Handler<java.lang.Throwable> handler)
exceptionHandler
in interface org.vertx.java.core.http.HttpClient
public int getSendBufferSize()
getSendBufferSize
in interface org.vertx.java.core.NetworkSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setMaxPoolSize(int maxConnections)
setMaxPoolSize
in interface org.vertx.java.core.http.HttpClient
public int getReceiveBufferSize()
getReceiveBufferSize
in interface org.vertx.java.core.NetworkSupport<org.vertx.java.core.http.HttpClient>
public boolean isTCPNoDelay()
isTCPNoDelay
in interface org.vertx.java.core.TCPSupport<org.vertx.java.core.http.HttpClient>
public java.lang.String getKeyStorePath()
getKeyStorePath
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public boolean isReuseAddress()
isReuseAddress
in interface org.vertx.java.core.NetworkSupport<org.vertx.java.core.http.HttpClient>
public boolean isTCPKeepAlive()
isTCPKeepAlive
in interface org.vertx.java.core.TCPSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setKeyStorePassword(java.lang.String pwd)
setKeyStorePassword
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public int getTrafficClass()
getTrafficClass
in interface org.vertx.java.core.NetworkSupport<org.vertx.java.core.http.HttpClient>
public int getSoLinger()
getSoLinger
in interface org.vertx.java.core.TCPSupport<org.vertx.java.core.http.HttpClient>
public int getMaxPoolSize()
getMaxPoolSize
in interface org.vertx.java.core.http.HttpClient
public boolean isUsePooledBuffers()
isUsePooledBuffers
in interface org.vertx.java.core.TCPSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setMaxWaiterQueueSize(int maxWaiterQueueSize)
setMaxWaiterQueueSize
in interface org.vertx.java.core.http.HttpClient
public java.lang.String getKeyStorePassword()
getKeyStorePassword
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setTrustStorePath(java.lang.String path)
setTrustStorePath
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public int getMaxWaiterQueueSize()
getMaxWaiterQueueSize
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient setConnectionMaxOutstandingRequestCount(int connectionMaxOutstandingRequestCount)
setConnectionMaxOutstandingRequestCount
in interface org.vertx.java.core.http.HttpClient
public java.lang.String getTrustStorePath()
getTrustStorePath
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public org.vertx.java.core.http.HttpClient setTrustStorePassword(java.lang.String pwd)
setTrustStorePassword
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public int getConnectionMaxOutstandingRequestCount()
getConnectionMaxOutstandingRequestCount
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient setKeepAlive(boolean keepAlive)
setKeepAlive
in interface org.vertx.java.core.http.HttpClient
public java.lang.String getTrustStorePassword()
getTrustStorePassword
in interface org.vertx.java.core.SSLSupport<org.vertx.java.core.http.HttpClient>
public boolean isKeepAlive()
isKeepAlive
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient setPipelining(boolean pipelining)
setPipelining
in interface org.vertx.java.core.http.HttpClient
public boolean isPipelining()
isPipelining
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient setPort(int port)
setPort
in interface org.vertx.java.core.http.HttpClient
public int getPort()
getPort
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient setHost(java.lang.String host)
setHost
in interface org.vertx.java.core.http.HttpClient
public java.lang.String getHost()
getHost
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient connectWebsocket(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.WebSocket> wsConnect)
connectWebsocket
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient connectWebsocket(java.lang.String uri, org.vertx.java.core.http.WebSocketVersion wsVersion, org.vertx.java.core.Handler<org.vertx.java.core.http.WebSocket> wsConnect)
connectWebsocket
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient connectWebsocket(java.lang.String uri, org.vertx.java.core.http.WebSocketVersion wsVersion, org.vertx.java.core.MultiMap headers, org.vertx.java.core.Handler<org.vertx.java.core.http.WebSocket> wsConnect)
connectWebsocket
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient connectWebsocket(java.lang.String uri, org.vertx.java.core.http.WebSocketVersion wsVersion, org.vertx.java.core.MultiMap headers, java.util.Set<java.lang.String> subprotocols, org.vertx.java.core.Handler<org.vertx.java.core.http.WebSocket> wsConnect)
connectWebsocket
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient getNow(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
getNow
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient getNow(java.lang.String uri, org.vertx.java.core.MultiMap headers, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
getNow
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest options(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
options
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest get(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
get
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest head(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
head
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest post(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
post
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest put(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
put
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest delete(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
delete
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest trace(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
trace
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest connect(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
connect
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest patch(java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
patch
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClientRequest request(java.lang.String method, java.lang.String uri, org.vertx.java.core.Handler<org.vertx.java.core.http.HttpClientResponse> responseHandler)
request
in interface org.vertx.java.core.http.HttpClient
public void close()
close
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient setVerifyHost(boolean verifyHost)
setVerifyHost
in interface org.vertx.java.core.http.HttpClient
public boolean isVerifyHost()
isVerifyHost
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient setConnectTimeout(int timeout)
setConnectTimeout
in interface org.vertx.java.core.http.HttpClient
public int getConnectTimeout()
getConnectTimeout
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient setTryUseCompression(boolean tryUseCompression)
setTryUseCompression
in interface org.vertx.java.core.http.HttpClient
public boolean getTryUseCompression()
getTryUseCompression
in interface org.vertx.java.core.http.HttpClient
public org.vertx.java.core.http.HttpClient setMaxWebSocketFrameSize(int maxSize)
setMaxWebSocketFrameSize
in interface org.vertx.java.core.http.HttpClient
public int getMaxWebSocketFrameSize()
getMaxWebSocketFrameSize
in interface org.vertx.java.core.http.HttpClient
Copyright © 2021. All Rights Reserved.