public interface WSClient
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this client, and releases underlying resources.
|
java.lang.Object |
getUnderlying()
The underlying implementation of the client, if any.
|
WSRequest |
url(java.lang.String url)
Returns a WSRequest object representing the URL.
|
java.lang.Object getUnderlying()
WSRequest url(java.lang.String url)
Promise<WSResponse>
.url
- the URL to requestvoid close() throws java.io.IOException
close
in interface java.lang.AutoCloseable
close
in interface java.io.Closeable
java.io.IOException