public class SteamWebApiClient extends AbstractRestClient
SteamWebApiClient class.
| Constructor and Description |
|---|
SteamWebApiClient()
Some requests do not require a token
|
SteamWebApiClient(HttpOptions options) |
SteamWebApiClient(String apiToken)
Constructor for SteamWebApiClient.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyAuthenticationScheme(org.asynchttpclient.RequestBuilder requestBuilder,
String authToken)
Override this method if the client requires authentication.
|
protected SteamWebApiResponse |
createWebApiResponse(org.asynchttpclient.Response response)
A factory method that creates an
AbstractWebApiResponse instance based on the Http Response |
createMessenger, getAuthToken, registerContentTypeProcessor, removeContentTypeProcessor, send, setAuthTokenclose, getExecutor, getMessenger, getOptions, id, send, sendpublic SteamWebApiClient()
public SteamWebApiClient(String apiToken)
Constructor for SteamWebApiClient.
apiToken - a String objectpublic SteamWebApiClient(HttpOptions options)
protected void applyAuthenticationScheme(org.asynchttpclient.RequestBuilder requestBuilder,
String authToken)
Override this method if the client requires authentication.
applyAuthenticationScheme in class AbstractRestClientrequestBuilder - The RequestBuilder containing the request parameters of the concrete RequestauthToken - A String representing the authetntication token to be passed to the providerprotected SteamWebApiResponse createWebApiResponse(org.asynchttpclient.Response response)
A factory method that creates an AbstractWebApiResponse instance based on the Http Response
createWebApiResponse in class AbstractRestClientresponse - The Http Response received by the transportAbstractWebApiResponseCopyright © 2016–2024. All rights reserved.