public abstract class ConnectivityTarget extends Object
| Constructor and Description |
|---|
ConnectivityTarget(Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
abstract AsyncRequest |
asyncRequest(String... acceptableResponseTypes)
Creates an async request for sending to the server
|
abstract ConnectivityTarget |
path(String path) |
abstract ConnectivityTarget |
queryParam(String name,
String value)
Configures a query parameter on the URI
|
abstract Request |
request(String... acceptableResponseTypes)
Creates a request for sending to the server
|
protected Logger logger
public ConnectivityTarget(Logger logger)
public abstract ConnectivityTarget path(String path)
path - Appends path to the URIConnectivityTarget updated with the given pathpublic abstract ConnectivityTarget queryParam(String name, String value)
name - Parameter namevalue - Parameter valueConnectivityTarget updated with the given query parameterpublic abstract Request request(String... acceptableResponseTypes)
acceptableResponseTypes - Accepted response media typespublic abstract AsyncRequest asyncRequest(String... acceptableResponseTypes)
acceptableResponseTypes - Accepted response media typesCopyright © 2023. All rights reserved.