Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

ACCEPT - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
ACCEPT_CHARSET - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
ACCEPT_ENCODING - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
ACCEPT_LANGUAGE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
ACCEPTED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
202 Accepted (HTTP/1.0 - RFC 1945).
accessToken(String) - Method in class com.ibm.cloud.sdk.core.service.security.IamOptions.Builder
 
addHeader(String, String) - Method in interface com.ibm.cloud.sdk.core.http.ServiceCall
Add a header to the request before executing.
apiKey(String) - Method in class com.ibm.cloud.sdk.core.service.security.IamOptions.Builder
 
APPLICATION_ATOM_XML - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_ATOM_XML.
APPLICATION_FORM_URLENCODED - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_FORM_URLENCODED.
APPLICATION_JSON - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_JSON.
APPLICATION_MS_WORD - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_MS_WORD.
APPLICATION_MS_WORD_DOCX - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_MS_WORD_DOCX.
APPLICATION_OCTET_STREAM - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_OCTET_STREAM.
APPLICATION_PDF - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_PDF.
APPLICATION_SVG_XML - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_SVG_XML.
APPLICATION_XHTML_XML - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_XHTML_XML.
APPLICATION_XML - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_XML.
APPLICATION_ZIP - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field APPLICATION_ZIP.
AUDIO_BASIC - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_BASIC.
AUDIO_FLAC - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_FLAC.
AUDIO_MP3 - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_MP3.
AUDIO_MPEG - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_MPEG.
AUDIO_MULAW - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_MULAW.
AUDIO_OGG - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_OGG.
AUDIO_OGG_VORBIS - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_OGG_VORBIS.
AUDIO_PCM - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_PCM.
AUDIO_RAW - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_RAW.
AUDIO_WAV - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_WAV.
AUDIO_WEBM - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_WEBM.
AUDIO_WEBM_OPUS - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_WEBM_OPUS.
AUDIO_WEBM_VORBIS - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field AUDIO_WEBM_VORBIS.
AUTHORIZATION - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders

B

BAD_GATEWAY - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
502 Bad Gateway (HTTP/1.0 - RFC 1945).
BAD_REQUEST - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
400 Bad Request (HTTP/1.1 - RFC 2616).
BadRequestException - Exception in com.ibm.cloud.sdk.core.service.exception
400 Bad Request (HTTP/1.1 - RFC 2616).
BadRequestException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.BadRequestException
Instantiates a new BadRequest Exception.
BaseService - Class in com.ibm.cloud.sdk.core.service
Abstracts common functionality of various IBM Cloud services.
BaseService(String) - Constructor for class com.ibm.cloud.sdk.core.service.BaseService
Instantiates a new IBM Cloud service.
BINARY_FILE - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field BINARY_FILE.
BINARY_OCTET_STREAM - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field BINARY_OCTET_STREAM.
body(RequestBody) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Sets the body.
bodyContent(String, String) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Sets the string content to the request (used with POST/PUT).
bodyContent(InputStream, String) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Sets the file content (InputStream) to the request (used with POST/PUT).
bodyContent(String, Object, Object, InputStream) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Sets the request body content from one of three different sources, based on the content type.
bodyContent(String, Object, Object, String) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Sets the request body content from one of three different sources, based on the content type.
bodyJson(JsonObject) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Adds a JSON content to the request (used with POST/PUT).
bodyJson(JsonObject, String) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Adds a JSON content to the request (used with POST/PUT/PATCH).
BooleanToStringTypeAdapter - Class in com.ibm.cloud.sdk.core.util
This TypeAdapter converts "yes", "no", "true", and "false" to Booleans and vice versa.
BooleanToStringTypeAdapter() - Constructor for class com.ibm.cloud.sdk.core.util.BooleanToStringTypeAdapter
 
build() - Method in class com.ibm.cloud.sdk.core.http.HttpConfigOptions.Builder
 
build() - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Builds the.
build() - Method in class com.ibm.cloud.sdk.core.service.security.IamOptions.Builder
 
Builder() - Constructor for class com.ibm.cloud.sdk.core.http.HttpConfigOptions.Builder
 
Builder() - Constructor for class com.ibm.cloud.sdk.core.service.security.IamOptions.Builder
 

C

CACHE_CONTROL - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
com.ibm.cloud.sdk.core.http - package com.ibm.cloud.sdk.core.http
 
com.ibm.cloud.sdk.core.service - package com.ibm.cloud.sdk.core.service
 
com.ibm.cloud.sdk.core.service.exception - package com.ibm.cloud.sdk.core.service.exception
This package contains a collection of runtime exceptions thrown by IBM Cloud services.
com.ibm.cloud.sdk.core.service.model - package com.ibm.cloud.sdk.core.service.model
 
com.ibm.cloud.sdk.core.service.security - package com.ibm.cloud.sdk.core.service.security
 
com.ibm.cloud.sdk.core.util - package com.ibm.cloud.sdk.core.util
Utility classes to detect media types and convert files into input streams.
configureClient(HttpConfigOptions) - Method in class com.ibm.cloud.sdk.core.http.HttpClientSingleton
Configures the current OkHttpClient instance based on the passed-in options.
configureClient(HttpConfigOptions) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Configures the OkHttpClient based on the passed-in options.
configureHttpClient() - Method in class com.ibm.cloud.sdk.core.service.BaseService
Configure the OkHttpClient.
configureSocket(SSLSocket) - Method in class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
CONFLICT - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
409 Conflict (HTTP/1.1 - RFC 2616).
ConflictException - Exception in com.ibm.cloud.sdk.core.service.exception
409 Conflict (HTTP/1.1 - RFC 2616).
ConflictException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.ConflictException
Instantiates a new Forbidden Exception.
constructHttpUrl(String, String[]) - Static method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Creates a properly encoded HttpUrl object with no path parameters.
constructHttpUrl(String, String[], String[]) - Static method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Creates a properly encoded HttpUrl object with path parameters.
CONTENT_DISPOSITION - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
CONTENT_ENCODING - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
CONTENT_LANGUAGE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
CONTENT_LENGTH - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
CONTENT_LOCATION - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
CONTENT_TYPE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
contentType() - Method in class com.ibm.cloud.sdk.core.http.InputStreamRequestBody
 
CONTINUE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
100 Continue (HTTP/1.1 - RFC 2616).
convert(Response) - Method in interface com.ibm.cloud.sdk.core.http.ResponseConverter
Converts a response into a generic type to be defined.
COOKIE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
create(MediaType, InputStream) - Static method in class com.ibm.cloud.sdk.core.http.InputStreamRequestBody
Creates the @link RequestBody from an @link InputStream.
createAudioRaw(int) - Static method in class com.ibm.cloud.sdk.core.http.HttpMediaType
Creates an audio/l16 media type that includes sample rate.
CREATED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
201 Created (HTTP/1.0 - RFC 1945).
createHttpClient() - Method in class com.ibm.cloud.sdk.core.http.HttpClientSingleton
Creates an OkHttpClient instance with a new ServiceCookieJar.
createServiceCall(Request, ResponseConverter<T>) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Creates the service call.
createSocket() - Method in class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
createSocket(String, int) - Method in class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
createSocket(InetAddress, int) - Method in class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
createSocket(Socket, String, int, boolean) - Method in class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
CredentialUtils - Class in com.ibm.cloud.sdk.core.util
CredentialUtils retrieves service credentials from the environment.
CredentialUtils.ServiceCredentials - Class in com.ibm.cloud.sdk.core.util
A util class to easily store service credentials.

D

DATE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
DATE_UTC - Static variable in class com.ibm.cloud.sdk.core.util.DateDeserializer
The Constant DATE_UTC.
DateDeserializer - Class in com.ibm.cloud.sdk.core.util
Date deserializer for different date formats across various IBM Cloud APIs.
DateDeserializer() - Constructor for class com.ibm.cloud.sdk.core.util.DateDeserializer
 
DateSerializer - Class in com.ibm.cloud.sdk.core.util
Date serializer.
DateSerializer() - Constructor for class com.ibm.cloud.sdk.core.util.DateSerializer
 
DelegatingSSLSocketFactory - Class in com.ibm.cloud.sdk.core.service.security
A SSLSocketFactory that delegates calls.
DelegatingSSLSocketFactory(SSLSocketFactory) - Constructor for class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
delete(HttpUrl) - Static method in class com.ibm.cloud.sdk.core.http.RequestBuilder
The DELETE method requests that the origin server delete the resource identified by the Request-URI.
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class com.ibm.cloud.sdk.core.util.DateDeserializer
 
disableSslVerification(boolean) - Method in class com.ibm.cloud.sdk.core.http.HttpConfigOptions.Builder
Sets flag to disable any SSL certificate verification during HTTP requests.
DynamicModel - Class in com.ibm.cloud.sdk.core.service.model
Abstract model class for objects which may have dynamic properties attached to them, which is represented with an internal map.
DynamicModel() - Constructor for class com.ibm.cloud.sdk.core.service.model.DynamicModel
 

E

encode(String) - Static method in class com.ibm.cloud.sdk.core.util.RequestUtils
Encode a string into a valid URL string.
enqueue(ServiceCallback<T>) - Method in interface com.ibm.cloud.sdk.core.http.ServiceCall
Asynchronous request with added HTTP information.
equals(Object) - Method in class com.ibm.cloud.sdk.core.http.Headers
Returns true if other is a Headers object with the same headers, with the same casing, in the same order.
equals(Object) - Method in class com.ibm.cloud.sdk.core.http.NameValue
 
equals(Object) - Method in class com.ibm.cloud.sdk.core.service.model.DynamicModel
 
equals(Object) - Method in class com.ibm.cloud.sdk.core.service.model.GenericModel
 
equals(Object) - Method in interface com.ibm.cloud.sdk.core.service.model.ObjectModel
 
ETAG - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
execute() - Method in interface com.ibm.cloud.sdk.core.http.ServiceCall
Synchronous request.
EXPECTATION_FAILED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
417 Expectation Failed (HTTP/1.1 - RFC 2616).
EXPIRES - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders

F

FAILED_DEPENDENCY - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
424 Failed Dependency (WebDAV - RFC 2518).
fileBody(File, String) - Static method in class com.ibm.cloud.sdk.core.util.RequestUtils
Returns a request body that encapsulates the specified file qualified with the specified content type.
FORBIDDEN - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
403 Forbidden (HTTP/1.0 - RFC 1945).
ForbiddenException - Exception in com.ibm.cloud.sdk.core.service.exception
403 Forbidden (HTTP/1.0 - RFC 1945).
ForbiddenException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.ForbiddenException
Instantiates a new Forbidden Exception.
form(Object...) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Adds form parameters.

G

GATEWAY_TIMEOUT - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
504 Gateway Timeout (HTTP/1.1 - RFC 2616).
GenericModel - Class in com.ibm.cloud.sdk.core.service.model
Abstract model class to provide a default toString() method in model classes.
GenericModel() - Constructor for class com.ibm.cloud.sdk.core.service.model.GenericModel
 
get(HttpUrl) - Static method in class com.ibm.cloud.sdk.core.http.RequestBuilder
The GET method means retrieve whatever information (in the form of an entity) is identified by the Request-URI.
getAccessToken() - Method in class com.ibm.cloud.sdk.core.service.security.IamOptions
 
getAccessToken() - Method in class com.ibm.cloud.sdk.core.service.security.IamToken
 
getApiKey() - Method in class com.ibm.cloud.sdk.core.service.BaseService
Gets the API key.
getApiKey() - Method in class com.ibm.cloud.sdk.core.service.security.IamOptions
 
getCredentialsFromVcap(String) - Static method in class com.ibm.cloud.sdk.core.util.CredentialUtils
Calls methods to parse VCAP_SERVICES and retrieve credential values.
getDebuggingInfo() - Method in exception com.ibm.cloud.sdk.core.service.exception.ServiceResponseException
Gets the response information other than the error message.
getDefaultCipherSuites() - Method in class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
getEndPoint() - Method in class com.ibm.cloud.sdk.core.service.BaseService
Gets the API end point.
getExpiration() - Method in class com.ibm.cloud.sdk.core.service.security.IamToken
 
getExpiresIn() - Method in class com.ibm.cloud.sdk.core.service.security.IamToken
 
getFileCredentials(String) - Static method in class com.ibm.cloud.sdk.core.util.CredentialUtils
Calls methods to find and parse a credential file in various locations.
getGenericObject(Type, String) - Static method in class com.ibm.cloud.sdk.core.util.ResponseConverterUtils
Creates a generic ResponseConverter for a generic class.
getGson() - Static method in class com.ibm.cloud.sdk.core.util.GsonSingleton
Gets the Gson instance.
getGsonWithoutPrettyPrinting() - Static method in class com.ibm.cloud.sdk.core.util.GsonSingleton
Gets the Gson instance.
getHeaders() - Method in class com.ibm.cloud.sdk.core.http.Response
 
getHeaders() - Method in exception com.ibm.cloud.sdk.core.service.exception.ServiceResponseException
Gets the headers.
getIamApiKey() - Method in class com.ibm.cloud.sdk.core.util.CredentialUtils.ServiceCredentials
Gets the IAM API key.
getIamUrl() - Method in class com.ibm.cloud.sdk.core.util.CredentialUtils.ServiceCredentials
Gets the IAM URL.
getInputStream() - Static method in class com.ibm.cloud.sdk.core.util.ResponseConverterUtils
Creates an InputStream converter.
getInputStream(Response) - Static method in class com.ibm.cloud.sdk.core.util.ResponseUtils
Returns the HTTP Response InputStream.
getInstance() - Static method in class com.ibm.cloud.sdk.core.http.HttpClientSingleton
Gets the single instance of HttpClientSingleton.
getJsonElement(Response) - Static method in class com.ibm.cloud.sdk.core.util.ResponseUtils
Return a JsonElement representation of the response.
getJsonObject(Response) - Static method in class com.ibm.cloud.sdk.core.util.ResponseUtils
Returns a JsonObject representation of the response.
getJsonObject(String) - Static method in class com.ibm.cloud.sdk.core.util.ResponseUtils
Returns a JsonObject representation of the provided JSON String.
getLoggingInterceptor() - Static method in class com.ibm.cloud.sdk.core.util.HttpLogging
 
getMessage() - Method in exception com.ibm.cloud.sdk.core.service.exception.ServiceResponseException
Gets the error message.
getName() - Method in class com.ibm.cloud.sdk.core.http.NameValue
Gets the name.
getName() - Method in class com.ibm.cloud.sdk.core.service.BaseService
Gets the name.
getObject(Class<? extends T>) - Static method in class com.ibm.cloud.sdk.core.util.ResponseConverterUtils
Creates a generic ResponseConverter for a POJO class.
getObject(Response, Class<? extends T>) - Static method in class com.ibm.cloud.sdk.core.util.ResponseUtils
Parses the Response into the POJO representation.
getOldApiKey() - Method in class com.ibm.cloud.sdk.core.util.CredentialUtils.ServiceCredentials
Gets the API used for older service instances.
getPassword() - Method in class com.ibm.cloud.sdk.core.service.BaseService
Gets the password.
getPassword() - Method in class com.ibm.cloud.sdk.core.util.CredentialUtils.ServiceCredentials
Gets the password.
getProxy() - Method in class com.ibm.cloud.sdk.core.http.HttpConfigOptions
 
getRefreshToken() - Method in class com.ibm.cloud.sdk.core.service.security.IamToken
 
getResult() - Method in class com.ibm.cloud.sdk.core.http.Response
 
getStatusCode() - Method in exception com.ibm.cloud.sdk.core.service.exception.ServiceResponseException
Gets the HTTP status code.
getString() - Static method in class com.ibm.cloud.sdk.core.util.ResponseConverterUtils
Creates a generic ResponseConverter for a String response.
getString(Response) - Static method in class com.ibm.cloud.sdk.core.util.ResponseUtils
Returns a String representation of the response.
getSupportedCipherSuites() - Method in class com.ibm.cloud.sdk.core.service.security.DelegatingSSLSocketFactory
 
getSystemInfo() - Static method in class com.ibm.cloud.sdk.core.util.RequestUtils
 
getToken() - Method in class com.ibm.cloud.sdk.core.service.security.IamTokenManager
This function returns an access token.
getTokenType() - Method in class com.ibm.cloud.sdk.core.service.security.IamToken
 
getUrl() - Method in class com.ibm.cloud.sdk.core.service.security.IamOptions
 
getUrl() - Method in class com.ibm.cloud.sdk.core.util.CredentialUtils.ServiceCredentials
Gets the API URL.
getUserAgent() - Static method in class com.ibm.cloud.sdk.core.util.RequestUtils
Gets the user agent.
getUsername() - Method in class com.ibm.cloud.sdk.core.service.BaseService
Gets the username.
getUsername() - Method in class com.ibm.cloud.sdk.core.util.CredentialUtils.ServiceCredentials
Gets the username.
getValue() - Method in class com.ibm.cloud.sdk.core.http.NameValue
Gets the value.
getValue(Class<? extends T>) - Static method in class com.ibm.cloud.sdk.core.util.ResponseConverterUtils
Creates a generic ResponseConverter for a non-object response.
getValue(Response, Class<? extends T>) - Static method in class com.ibm.cloud.sdk.core.util.ResponseUtils
Parses the Response into a value of the specified type.
getVcapValue(String, String) - Static method in class com.ibm.cloud.sdk.core.util.CredentialUtils
 
getVcapValue(String, String, String) - Static method in class com.ibm.cloud.sdk.core.util.CredentialUtils
Returns the value associated with the provided key from the VCAP_SERVICES, or null if it doesn't exist.
getVoid() - Static method in class com.ibm.cloud.sdk.core.util.ResponseConverterUtils
Gets the void converter.
GONE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
410 Gone (HTTP/1.1 - RFC 2616).
GsonSerializationHelper - Class in com.ibm.cloud.sdk.core.util
Utility class to help with serialization in models which extend DynamicModel.
GsonSingleton - Class in com.ibm.cloud.sdk.core.util
Gson singleton to be use when transforming from JSON to Java Objects and vise versa.

H

hasBadStartOrEndChar(String) - Static method in class com.ibm.cloud.sdk.core.util.CredentialUtils
Returns true if the supplied value begins or ends with curly brackets or quotation marks.
hashCode() - Method in class com.ibm.cloud.sdk.core.http.Headers
 
hashCode() - Method in class com.ibm.cloud.sdk.core.http.NameValue
 
hashCode() - Method in class com.ibm.cloud.sdk.core.service.model.DynamicModel
 
hashCode() - Method in class com.ibm.cloud.sdk.core.service.model.GenericModel
 
hashCode() - Method in interface com.ibm.cloud.sdk.core.service.model.ObjectModel
 
head(HttpUrl) - Static method in class com.ibm.cloud.sdk.core.http.RequestBuilder
The HEAD method means retrieve the headers for the resource identified by the Request-URI.
header(Object...) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Adds header parameters.
Headers - Class in com.ibm.cloud.sdk.core.http
Wrapper class for the internal HTTP headers class.
Headers(Headers) - Constructor for class com.ibm.cloud.sdk.core.http.Headers
 
HOST - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
HTTP_VERSION_NOT_SUPPORTED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616).
HttpClientSingleton - Class in com.ibm.cloud.sdk.core.http
This class encapsulate the OkHttpClient instance in a singleton pattern.
HttpClientSingleton() - Constructor for class com.ibm.cloud.sdk.core.http.HttpClientSingleton
Instantiates a new HTTP client singleton.
HttpConfigOptions - Class in com.ibm.cloud.sdk.core.http
Options class for configuring the HTTP client.
HttpConfigOptions.Builder - Class in com.ibm.cloud.sdk.core.http
 
HttpHeaders - Interface in com.ibm.cloud.sdk.core.http
HTTP constant headers.
HttpLogging - Class in com.ibm.cloud.sdk.core.util
HttpLogging logs HTTP request and response data.
HttpMediaType - Class in com.ibm.cloud.sdk.core.http
An abstraction for a media type.
HttpStatus - Interface in com.ibm.cloud.sdk.core.http
Constants enumerating the HTTP status codes.

I

IamOptions - Class in com.ibm.cloud.sdk.core.service.security
Options for authenticating using IAM.
IamOptions.Builder - Class in com.ibm.cloud.sdk.core.service.security
 
IamToken - Class in com.ibm.cloud.sdk.core.service.security
Represents response from IAM API.
IamToken() - Constructor for class com.ibm.cloud.sdk.core.service.security.IamToken
 
IamTokenManager - Class in com.ibm.cloud.sdk.core.service.security
Retrieves, stores, and refreshes IAM tokens.
IamTokenManager(IamOptions) - Constructor for class com.ibm.cloud.sdk.core.service.security.IamTokenManager
 
IF_MATCH - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
IF_MODIFIED_SINCE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
IF_NONE_MATCH - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
IF_UNMODIFIED_SINCE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
inputStreamBody(InputStream, String) - Static method in class com.ibm.cloud.sdk.core.util.RequestUtils
Returns a request body the encapsulates the specified input stream qualified with the specified content type.
InputStreamRequestBody - Class in com.ibm.cloud.sdk.core.http
RequestBody that takes an InputStream.
INSUFFICIENT_STORAGE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
507 Insufficient Storage (WebDAV - RFC 2518).
INTERNAL_SERVER_ERROR - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
500 Server Error (HTTP/1.0 - RFC 1945).
InternalServerErrorException - Exception in com.ibm.cloud.sdk.core.service.exception
500 Server Error (HTTP/1.0 - RFC 1945).
InternalServerErrorException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.InternalServerErrorException
Instantiates a new Internal Server Error Exception.
isEmpty() - Method in class com.ibm.cloud.sdk.core.util.CredentialUtils.ServiceCredentials
Returns true if no fields are set on the object.
isJsonMimeType(String) - Static method in class com.ibm.cloud.sdk.core.service.BaseService
Returns true iff the specified mimeType indicates a JSON-related content type.
isJsonPatchMimeType(String) - Static method in class com.ibm.cloud.sdk.core.service.BaseService
Returns true iff the specified mimeType indicates a "Json Patch"-related content type.
isNull(Object, String) - Static method in class com.ibm.cloud.sdk.core.util.Validator
Validates that the specified argument is null; otherwise throwing an exception with the specified message.
isTokenManagerSet() - Method in class com.ibm.cloud.sdk.core.service.BaseService
Checks the status of the tokenManager.
isTrue(boolean, String) - Static method in class com.ibm.cloud.sdk.core.util.Validator
Validates that the argument condition is true; otherwise throwing an exception with the specified message.

J

join(T[], String) - Static method in class com.ibm.cloud.sdk.core.util.RequestUtils
Creates a String of all elements of an array, separated by a separator.
join(Iterable<?>, String) - Static method in class com.ibm.cloud.sdk.core.util.RequestUtils
Creates a String of all elements of an iterable, separated by a separator.
JSON - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field JSON.
JSON_MIME_PATTERN - Static variable in class com.ibm.cloud.sdk.core.service.BaseService
 
JSON_PATCH_MIME_PATTERN - Static variable in class com.ibm.cloud.sdk.core.service.BaseService
 

L

LAST_MODIFIED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
LENGTH_REQUIRED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
411 Length Required (HTTP/1.1 - RFC 2616).
loadForRequest(HttpUrl) - Method in class com.ibm.cloud.sdk.core.http.ServiceCookieJar
 
LOCATION - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
LOCKED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
423 Locked (WebDAV - RFC 2518).
LongToDateTypeAdapter - Class in com.ibm.cloud.sdk.core.util
This TypeAdapter converts unix timestamps (in numeric or String form) to Java Dates and vice versa.
LongToDateTypeAdapter() - Constructor for class com.ibm.cloud.sdk.core.util.LongToDateTypeAdapter
 

M

MEDIA_TYPE_WILDCARD - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field MEDIA_TYPE_WILDCARD.
METHOD_NOT_ALLOWED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
405 Method Not Allowed (HTTP/1.1 - RFC 2616).
MOVED_PERMANENTLY - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
301 Moved Permanently (HTTP/1.0 - RFC 1945).
MOVED_TEMPORARILY - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
302 Moved Temporarily (Sometimes Found) (HTTP/1.0 - RFC 1945).
MULTI_STATUS - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?).
MULTIPART_FORM_DATA - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field MULTIPART_FORM_DATA.
MULTIPLE_CHOICES - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
300 Mutliple Choices (HTTP/1.1 - RFC 2616).

N

names() - Method in class com.ibm.cloud.sdk.core.http.Headers
Returns an immutable, case-insensitive set of header names.
NameValue - Class in com.ibm.cloud.sdk.core.http
A name / value pair parameter used as an element of HTTP messages.
NameValue(String, String) - Constructor for class com.ibm.cloud.sdk.core.http.NameValue
Default Constructor taking a name and a value.
NO_CONTENT - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
204 No Content (HTTP/1.0 - RFC 1945).
NON_AUTHORITATIVE_INFORMATION - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
203 Non Authoritative Information (HTTP/1.1 - RFC 2616).
NOT_ACCEPTABLE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
406 Not Acceptable (HTTP/1.1 - RFC 2616).
NOT_FOUND - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
404 Not Found (HTTP/1.0 - RFC 1945).
NOT_IMPLEMENTED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
501 Not Implemented (HTTP/1.0 - RFC 1945).
NOT_MODIFIED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
304 Not Modified (HTTP/1.0 - RFC 1945).
notEmpty(Collection, String) - Static method in class com.ibm.cloud.sdk.core.util.Validator
Validates that the specified argument collection is neither null nor a size of zero (no elements); otherwise throwing an exception with the specified message.
notEmpty(Object[], String) - Static method in class com.ibm.cloud.sdk.core.util.Validator
Validates that the specified argument array is neither null nor a length of zero (no elements); otherwise throwing an exception with the specified message.
notEmpty(String, String) - Static method in class com.ibm.cloud.sdk.core.util.Validator
Validator that the specified argument string is neither null nor a length of zero (no characters); otherwise throwing an exception with the specified message.
NotFoundException - Exception in com.ibm.cloud.sdk.core.service.exception
404 Not Found (HTTP/1.0 - RFC 1945).
NotFoundException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.NotFoundException
Instantiates a new not found exception.
notNull(Object, String) - Static method in class com.ibm.cloud.sdk.core.util.Validator
Validates that the specified argument is not null; otherwise throwing an exception with the specified message.

O

ObjectModel - Interface in com.ibm.cloud.sdk.core.service.model
Interface for both generic and dynamic model classes.
OK - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
200 OK (HTTP/1.0 - RFC 1945).
omit(Map<String, Object>, String...) - Static method in class com.ibm.cloud.sdk.core.util.RequestUtils
Return a copy of a Map excluding the given key, or array of keys.
onFailure(Exception) - Method in interface com.ibm.cloud.sdk.core.http.ServiceCallback
Called if there is an error during the request.
onResponse(Response<T>) - Method in interface com.ibm.cloud.sdk.core.http.ServiceCallback
Called with the response.

P

PARTIAL_CONTENT - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
206 Partial Content (HTTP/1.1 - RFC 2616).
patch(HttpUrl) - Static method in class com.ibm.cloud.sdk.core.http.RequestBuilder
The PUT method requests that the enclosed entity be stored under the supplied Request-URI.
PAYMENT_REQUIRED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
402 Payment Required (HTTP/1.1 - RFC 2616).
pick(Map<String, Object>, String...) - Static method in class com.ibm.cloud.sdk.core.util.RequestUtils
Return a copy of a Map with only the specified given key, or array of keys.
PLAN_STANDARD - Static variable in class com.ibm.cloud.sdk.core.util.CredentialUtils
 
post(HttpUrl) - Static method in class com.ibm.cloud.sdk.core.http.RequestBuilder
The POST request method is designed to request that a web server accept the data enclosed in the request message's body for storage.
PRECONDITION_FAILED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
412 Precondition Failed (HTTP/1.1 - RFC 2616).
processServiceCall(ResponseConverter<T>, Response) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Process service call.
proxy(Proxy) - Method in class com.ibm.cloud.sdk.core.http.HttpConfigOptions.Builder
Sets HTTP proxy to be used by connections with the current client.
PROXY_AUTHENTICATION_REQUIRED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
407 Proxy Authentication Required (HTTP/1.1 - RFC 2616).
put(HttpUrl) - Static method in class com.ibm.cloud.sdk.core.http.RequestBuilder
The PUT method requests that the enclosed entity be stored under the supplied Request-URI.

Q

query(Object...) - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
Adds query parameters.

R

reactiveRequest() - Method in interface com.ibm.cloud.sdk.core.http.ServiceCall
Reactive request using the RxJava 2 library.
read(JsonReader) - Method in class com.ibm.cloud.sdk.core.util.BooleanToStringTypeAdapter
 
read(JsonReader) - Method in class com.ibm.cloud.sdk.core.util.LongToDateTypeAdapter
 
REQUEST_TIMEOUT - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
408 Request Timeout (HTTP/1.1 - RFC 2616).
REQUEST_TOO_LONG - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
413 Request Entity Too Large (HTTP/1.1 - RFC 2616).
REQUEST_URI_TOO_LONG - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
414 Request-URI Too Long (HTTP/1.1 - RFC 2616).
RequestBuilder - Class in com.ibm.cloud.sdk.core.http
Convenience class for constructing HTTP/HTTPS requests.
REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
416 Requested Range Not Satisfiable (HTTP/1.1 - RFC 2616).
RequestTooLargeException - Exception in com.ibm.cloud.sdk.core.service.exception
413 Request Entity Too Large (HTTP/1.1 - RFC 2616).
RequestTooLargeException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.RequestTooLargeException
Instantiates a new Request Too Large Exception.
RequestUtils - Class in com.ibm.cloud.sdk.core.util
Utility functions to use when creating a RequestBuilder.
RESET_CONTENT - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
205 Reset Content (HTTP/1.1 - RFC 2616).
Response<T> - Class in com.ibm.cloud.sdk.core.http
Class holding the converted service call result along with some HTTP response data.
Response(T, Response) - Constructor for class com.ibm.cloud.sdk.core.http.Response
 
ResponseConverter<T> - Interface in com.ibm.cloud.sdk.core.http
The Interface ResponseConverter.
ResponseConverterUtils - Class in com.ibm.cloud.sdk.core.util
Utility class to convert service responses into a ResponseConverter.
ResponseUtils - Class in com.ibm.cloud.sdk.core.util
Utility class to manage service responses.

S

saveFromResponse(HttpUrl, List<Cookie>) - Method in class com.ibm.cloud.sdk.core.http.ServiceCookieJar
 
SEE_OTHER - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
303 See Other (HTTP/1.1 - RFC 2616).
serialize(Date, Type, JsonSerializationContext) - Method in class com.ibm.cloud.sdk.core.util.DateSerializer
 
serializeDynamicModelProperty(Object, Type) - Static method in class com.ibm.cloud.sdk.core.util.GsonSerializationHelper
Takes a property of an object extending DynamicModel and serializes it to the desired type.
SERVICE_UNAVAILABLE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
503 Service Unavailable (HTTP/1.0 - RFC 1945).
ServiceCall<T> - Interface in com.ibm.cloud.sdk.core.http
Service Call.
ServiceCallback<T> - Interface in com.ibm.cloud.sdk.core.http
Callback with the response for an Asynchronous request.
ServiceCookieJar - Class in com.ibm.cloud.sdk.core.http
This is an adapter that uses JavaNetCookieJar.
ServiceCookieJar(CookieHandler) - Constructor for class com.ibm.cloud.sdk.core.http.ServiceCookieJar
Instantiates a new ServiceCookieJar.
ServiceResponseException - Exception in com.ibm.cloud.sdk.core.service.exception
Generic Service Response Exception.
ServiceResponseException(int, Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.ServiceResponseException
Instantiates a new Service Response Exception.
ServiceUnavailableException - Exception in com.ibm.cloud.sdk.core.service.exception
503 Service Unavailable (HTTP/1.0 - RFC 1945).
ServiceUnavailableException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.ServiceUnavailableException
Instantiates a new Service Unavailable Exception.
SET_COOKIE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
setApiKey(String) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Sets the API key.
setAuthentication(Request.Builder) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Sets the authentication.
setContext(Hashtable<String, String>) - Static method in class com.ibm.cloud.sdk.core.util.CredentialUtils
Sets the context variable for JNDI.
setDefaultHeaders(Request.Builder) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Sets the default headers.
setDefaultHeaders(Map<String, String>) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Set the default headers to be used on every HTTP request.
setEndPoint(String) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Sets the end point.
setIamCredentials(IamOptions) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Sets IAM information.
setMessage(String) - Method in exception com.ibm.cloud.sdk.core.service.exception.ServiceResponseException
Sets the error message.
setServices(String) - Static method in class com.ibm.cloud.sdk.core.util.CredentialUtils
Sets the VCAP_SERVICES variable.
setSkipAuthentication(boolean) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Sets the skip authentication.
setUsernameAndPassword(String, String) - Method in class com.ibm.cloud.sdk.core.service.BaseService
Sets the username and password.
shouldDisableSslVerification() - Method in class com.ibm.cloud.sdk.core.http.HttpConfigOptions
 
StringHelper - Class in com.ibm.cloud.sdk.core.util
Helper class used by java code generated by the SDK codegen tool.

T

TEMPORARY_REDIRECT - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
307 Temporary Redirect (HTTP/1.1 - RFC 2616).
TEXT - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field TEXT.
TEXT_CSV - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field TEXT_CSV.
TEXT_HTML - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field TEXT_HTML.
TEXT_PLAIN - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field TEXT_PLAIN.
TEXT_XML - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field TEXT_XML.
toInputStream(String) - Static method in class com.ibm.cloud.sdk.core.util.StringHelper
Returns an InputStream that can be used to read the bytes of the specified String.
TOO_MANY_REQUESTS - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
429 Too Many Requests.
TooManyRequestsException - Exception in com.ibm.cloud.sdk.core.service.exception
429 Too Many Requests (HTTP/1.1 - RFC 6585).
TooManyRequestsException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.TooManyRequestsException
Instantiates a new Too Many Requests Exception.
toString() - Method in class com.ibm.cloud.sdk.core.http.Headers
 
toString() - Method in class com.ibm.cloud.sdk.core.http.NameValue
 
toString() - Method in class com.ibm.cloud.sdk.core.http.RequestBuilder
 
toString() - Method in class com.ibm.cloud.sdk.core.service.BaseService
 
toString() - Method in class com.ibm.cloud.sdk.core.service.model.DynamicModel
 
toString() - Method in class com.ibm.cloud.sdk.core.service.model.GenericModel
 
toString() - Method in interface com.ibm.cloud.sdk.core.service.model.ObjectModel
 

U

UNAUTHORIZED - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
401 Unauthorized (HTTP/1.0 - RFC 1945).
UnauthorizedException - Exception in com.ibm.cloud.sdk.core.service.exception
401 Unauthorized (HTTP/1.0 - RFC 1945).
UnauthorizedException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.UnauthorizedException
Instantiates a new Unauthorized Exception.
UNPROCESSABLE_ENTITY - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
422 Unprocessable Entity (WebDAV - RFC 2518).
UNSUPPORTED_MEDIA_TYPE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
415 Unsupported Media Type (HTTP/1.1 - RFC 2616).
UnsupportedException - Exception in com.ibm.cloud.sdk.core.service.exception
415 Unsupported Media Type (HTTP/1.1 - RFC 2616).
UnsupportedException(Response) - Constructor for exception com.ibm.cloud.sdk.core.service.exception.UnsupportedException
Instantiates a new unsupported Exception.
url(String) - Method in class com.ibm.cloud.sdk.core.service.security.IamOptions.Builder
 
USE_PROXY - Static variable in interface com.ibm.cloud.sdk.core.http.HttpStatus
305 Use Proxy (HTTP/1.1 - RFC 2616).
USER_AGENT - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders

V

Validator - Class in com.ibm.cloud.sdk.core.util
This class assists in validating arguments.
If an argument value is deemed invalid, an IllegalArgumentException is thrown.
values(String) - Method in class com.ibm.cloud.sdk.core.http.Headers
Returns an immutable list of the header values for the specified name.
VARY - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders

W

WILDCARD - Static variable in class com.ibm.cloud.sdk.core.http.HttpMediaType
Field WILDCARD.
write(JsonWriter, Boolean) - Method in class com.ibm.cloud.sdk.core.util.BooleanToStringTypeAdapter
 
write(JsonWriter, Date) - Method in class com.ibm.cloud.sdk.core.util.LongToDateTypeAdapter
 
writeTo(BufferedSink) - Method in class com.ibm.cloud.sdk.core.http.InputStreamRequestBody
 
WWW_AUTHENTICATE - Static variable in interface com.ibm.cloud.sdk.core.http.HttpHeaders
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.