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, setAuthToken
close, getExecutor, getMessenger, getOptions, id, send, send
public 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 AbstractRestClient
requestBuilder
- The RequestBuilder
containing the request parameters of the concrete Request
authToken
- 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 AbstractRestClient
response
- The Http Response
received by the transportAbstractWebApiResponse
Copyright © 2016–2024. All rights reserved.