Package net.troja.eve.esi.api
Class MetaApi
- java.lang.Object
-
- net.troja.eve.esi.api.MetaApi
-
public class MetaApi extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()Map<String,String>getHeaders()Debug request headers Echo the request headers for debugging purposes.okhttp3.CallgetHeadersAsync(ApiCallback<Map<String,String>> _callback)Debug request headers (asynchronously) Echo the request headers for debugging purposes.okhttp3.CallgetHeadersCall(ApiCallback _callback)Build call for getHeadersApiResponse<Map<String,String>>getHeadersWithHttpInfo()Debug request headers Echo the request headers for debugging purposes.StringgetPing()Ping route Ping the ESI routersokhttp3.CallgetPingAsync(ApiCallback<String> _callback)Ping route (asynchronously) Ping the ESI routersokhttp3.CallgetPingCall(ApiCallback _callback)Build call for getPingApiResponse<String>getPingWithHttpInfo()Ping route Ping the ESI routersList<EsiStatusResponse>getStatus(String version)ESI health status Provides a general health indicator per route and methodokhttp3.CallgetStatusAsync(String version, ApiCallback<List<EsiStatusResponse>> _callback)ESI health status (asynchronously) Provides a general health indicator per route and methodokhttp3.CallgetStatusCall(String version, ApiCallback _callback)Build call for getStatusApiResponse<List<EsiStatusResponse>>getStatusWithHttpInfo(String version)ESI health status Provides a general health indicator per route and methodEsiVerifyResponsegetVerify(String userAgent, String xUserAgent, String datasource, String token, String authorization)Verify access token Verify authorization tokens in ESI's auth cacheokhttp3.CallgetVerifyAsync(String userAgent, String xUserAgent, String datasource, String token, String authorization, ApiCallback<EsiVerifyResponse> _callback)Verify access token (asynchronously) Verify authorization tokens in ESI's auth cacheokhttp3.CallgetVerifyCall(String userAgent, String xUserAgent, String datasource, String token, String authorization, ApiCallback _callback)Build call for getVerifyApiResponse<EsiVerifyResponse>getVerifyWithHttpInfo(String userAgent, String xUserAgent, String datasource, String token, String authorization)Verify access token Verify authorization tokens in ESI's auth cacheList<String>getVersions(String userAgent, String xUserAgent)List versions List all endpoint versionsokhttp3.CallgetVersionsAsync(String userAgent, String xUserAgent, ApiCallback<List<String>> _callback)List versions (asynchronously) List all endpoint versionsokhttp3.CallgetVersionsCall(String userAgent, String xUserAgent, ApiCallback _callback)Build call for getVersionsApiResponse<List<String>>getVersionsWithHttpInfo(String userAgent, String xUserAgent)List versions List all endpoint versionsvoidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
MetaApi
public MetaApi()
-
MetaApi
public MetaApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHeadersCall
public okhttp3.Call getHeadersCall(ApiCallback _callback) throws ApiException
Build call for getHeaders- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getHeaders
public Map<String,String> getHeaders() throws ApiException
Debug request headers Echo the request headers for debugging purposes. Note that the 'Connection' header and any 'X-' headers are not included- Returns:
- Map<String, String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getHeadersWithHttpInfo
public ApiResponse<Map<String,String>> getHeadersWithHttpInfo() throws ApiException
Debug request headers Echo the request headers for debugging purposes. Note that the 'Connection' header and any 'X-' headers are not included- Returns:
- ApiResponse<Map<String, String>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getHeadersAsync
public okhttp3.Call getHeadersAsync(ApiCallback<Map<String,String>> _callback) throws ApiException
Debug request headers (asynchronously) Echo the request headers for debugging purposes. Note that the 'Connection' header and any 'X-' headers are not included- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getPingCall
public okhttp3.Call getPingCall(ApiCallback _callback) throws ApiException
Build call for getPing- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getPing
public String getPing() throws ApiException
Ping route Ping the ESI routers- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getPingWithHttpInfo
public ApiResponse<String> getPingWithHttpInfo() throws ApiException
Ping route Ping the ESI routers- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getPingAsync
public okhttp3.Call getPingAsync(ApiCallback<String> _callback) throws ApiException
Ping route (asynchronously) Ping the ESI routers- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getStatusCall
public okhttp3.Call getStatusCall(String version, ApiCallback _callback) throws ApiException
Build call for getStatus- Parameters:
version- The version of metrics to request. Note that alternate versions are grouped together (optional, default to latest)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getStatus
public List<EsiStatusResponse> getStatus(String version) throws ApiException
ESI health status Provides a general health indicator per route and method- Parameters:
version- The version of metrics to request. Note that alternate versions are grouped together (optional, default to latest)- Returns:
- List<EsiStatusResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getStatusWithHttpInfo
public ApiResponse<List<EsiStatusResponse>> getStatusWithHttpInfo(String version) throws ApiException
ESI health status Provides a general health indicator per route and method- Parameters:
version- The version of metrics to request. Note that alternate versions are grouped together (optional, default to latest)- Returns:
- ApiResponse<List<EsiStatusResponse>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getStatusAsync
public okhttp3.Call getStatusAsync(String version, ApiCallback<List<EsiStatusResponse>> _callback) throws ApiException
ESI health status (asynchronously) Provides a general health indicator per route and method- Parameters:
version- The version of metrics to request. Note that alternate versions are grouped together (optional, default to latest)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getVerifyCall
public okhttp3.Call getVerifyCall(String userAgent, String xUserAgent, String datasource, String token, String authorization, ApiCallback _callback) throws ApiException
Build call for getVerify- Parameters:
userAgent- Client identifier, takes precedence over headers (optional)xUserAgent- Client identifier, takes precedence over User-Agent (optional)datasource- The server name you would like data from (optional, default to tranquility)token- Access token to use if unable to set a header (optional)authorization- Access token, in the format of \"Bearer <access token>\" (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getVerify
public EsiVerifyResponse getVerify(String userAgent, String xUserAgent, String datasource, String token, String authorization) throws ApiException
Verify access token Verify authorization tokens in ESI's auth cache- Parameters:
userAgent- Client identifier, takes precedence over headers (optional)xUserAgent- Client identifier, takes precedence over User-Agent (optional)datasource- The server name you would like data from (optional, default to tranquility)token- Access token to use if unable to set a header (optional)authorization- Access token, in the format of \"Bearer <access token>\" (optional)- Returns:
- EsiVerifyResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getVerifyWithHttpInfo
public ApiResponse<EsiVerifyResponse> getVerifyWithHttpInfo(String userAgent, String xUserAgent, String datasource, String token, String authorization) throws ApiException
Verify access token Verify authorization tokens in ESI's auth cache- Parameters:
userAgent- Client identifier, takes precedence over headers (optional)xUserAgent- Client identifier, takes precedence over User-Agent (optional)datasource- The server name you would like data from (optional, default to tranquility)token- Access token to use if unable to set a header (optional)authorization- Access token, in the format of \"Bearer <access token>\" (optional)- Returns:
- ApiResponse<EsiVerifyResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getVerifyAsync
public okhttp3.Call getVerifyAsync(String userAgent, String xUserAgent, String datasource, String token, String authorization, ApiCallback<EsiVerifyResponse> _callback) throws ApiException
Verify access token (asynchronously) Verify authorization tokens in ESI's auth cache- Parameters:
userAgent- Client identifier, takes precedence over headers (optional)xUserAgent- Client identifier, takes precedence over User-Agent (optional)datasource- The server name you would like data from (optional, default to tranquility)token- Access token to use if unable to set a header (optional)authorization- Access token, in the format of \"Bearer <access token>\" (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getVersionsCall
public okhttp3.Call getVersionsCall(String userAgent, String xUserAgent, ApiCallback _callback) throws ApiException
Build call for getVersions- Parameters:
userAgent- Client identifier, takes precedence over headers (optional)xUserAgent- Client identifier, takes precedence over User-Agent (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getVersions
public List<String> getVersions(String userAgent, String xUserAgent) throws ApiException
List versions List all endpoint versions- Parameters:
userAgent- Client identifier, takes precedence over headers (optional)xUserAgent- Client identifier, takes precedence over User-Agent (optional)- Returns:
- List<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getVersionsWithHttpInfo
public ApiResponse<List<String>> getVersionsWithHttpInfo(String userAgent, String xUserAgent) throws ApiException
List versions List all endpoint versions- Parameters:
userAgent- Client identifier, takes precedence over headers (optional)xUserAgent- Client identifier, takes precedence over User-Agent (optional)- Returns:
- ApiResponse<List<String>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getVersionsAsync
public okhttp3.Call getVersionsAsync(String userAgent, String xUserAgent, ApiCallback<List<String>> _callback) throws ApiException
List versions (asynchronously) List all endpoint versions- Parameters:
userAgent- Client identifier, takes precedence over headers (optional)xUserAgent- Client identifier, takes precedence over User-Agent (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-