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

A

acquire(long) - Method in class software.amazon.awssdk.crt.CrtResource
 
acquireConnection() - Method in class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
Request a HttpConnection from the Connection Pool.
AsyncCallback - Interface in software.amazon.awssdk.crt
 
AWS_CRT_SUCCESS - Static variable in class software.amazon.awssdk.crt.CRT
 
awsErrorString(int) - Static method in class software.amazon.awssdk.crt.CRT
Given an integer error code from an internal operation

B

ByteBufferUtils - Class in software.amazon.awssdk.crt.utils
Utility Class with Helper functions for working with ByteBuffers

C

ClientBootstrap - Class in software.amazon.awssdk.crt.io
This class wraps the aws_client_bootstrap from aws-c-io to provide a client context for all protocol stacks in the AWS Common Runtime.
ClientBootstrap(int) - Constructor for class software.amazon.awssdk.crt.io.ClientBootstrap
Creates a new ClientBootstrap.
ClientBootstrap(EventLoopGroup, HostResolver) - Constructor for class software.amazon.awssdk.crt.io.ClientBootstrap
Creates a new ClientBootstrap.
close() - Method in class software.amazon.awssdk.crt.CrtResource
 
close() - Method in class software.amazon.awssdk.crt.http.HttpConnection
Releases this HttpConnection back into the Connection Pool, and allows another Request to acquire this connection.
close() - Method in class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
Closes this Connection Pool and any pending Connection Acquisitions
close() - Method in class software.amazon.awssdk.crt.http.HttpStream
 
close() - Method in class software.amazon.awssdk.crt.io.ClientBootstrap
 
close() - Method in class software.amazon.awssdk.crt.io.EventLoopGroup
Stops the event loop group's tasks and frees all resources associated with the the group.
close() - Method in class software.amazon.awssdk.crt.io.HostResolver
 
close() - Method in class software.amazon.awssdk.crt.io.SocketOptions
Frees the native resources for this set of socket options
close() - Method in class software.amazon.awssdk.crt.io.TlsContext
Frees all native resources associated with the context.
close() - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Frees the native resources associated with this instance
close() - Method in class software.amazon.awssdk.crt.mqtt.MqttClient
Cleans up the native resources associated with this client.
close() - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Disconnects if necessary, and frees native resources associated with this connection
connect(String, String, int) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Connect to the service endpoint and start a session without TLS.
connect(String, String, int, SocketOptions, TlsContext, boolean, int, int) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Connect to the service endpoint and start a session
createDefaultClient() - Static method in class software.amazon.awssdk.crt.io.TlsContextOptions
Helper which creates a default set of TLS options for the current platform
createWithMTLS(String, String) - Static method in class software.amazon.awssdk.crt.io.TlsContextOptions
Helper which creates TLS options using a certificate and private key
createWithMTLSPkcs12(String, String) - Static method in class software.amazon.awssdk.crt.io.TlsContextOptions
OSX only - Helper which creates TLS options using PKCS12
CRT - Class in software.amazon.awssdk.crt
This class is responsible for loading the aws-crt-jni shared lib for the current platform out of aws-crt-java.jar.
CRT() - Constructor for class software.amazon.awssdk.crt.CRT
 
CRT.UnknownPlatformException - Exception in software.amazon.awssdk.crt
 
CrtHttpStreamHandler - Interface in software.amazon.awssdk.crt.http
Interface that Native code knows how to call when handling Http Request/Responses Maps 1-1 to the Native Http API here: https://github.com/awslabs/aws-c-http/blob/master/include/aws/http/request_response.h
CrtResource - Class in software.amazon.awssdk.crt
This wraps a native pointer to an AWS Common Runtime resource.
CrtResource() - Constructor for class software.amazon.awssdk.crt.CrtResource
 
CrtRuntimeException - Exception in software.amazon.awssdk.crt
This exception will be thrown by any exceptional cases encountered within the JNI bindings to the AWS Common Runtime

D

deepCopy(ByteBuffer) - Static method in class software.amazon.awssdk.crt.utils.ByteBufferUtils
Allocates a new backing byte[] with a new ByteBuffer, and copies the contents of the input buffer to the copy.
DEFAULT_BODY_BUFFER_SIZE - Static variable in class software.amazon.awssdk.crt.http.HttpRequestOptions
 
DEFAULT_MAX_CONNECTIONS - Static variable in class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
 
DEFAULT_MAX_WINDOW_SIZE - Static variable in class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
 
disconnect() - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Disconnects the current session

E

EventLoopGroup - Class in software.amazon.awssdk.crt.io
This class wraps the aws_event_loop_group from aws-c-io to provide access to an event loop for the MQTT protocol stack in the AWS Common Runtime.
EventLoopGroup(int) - Constructor for class software.amazon.awssdk.crt.io.EventLoopGroup
Creates a new event loop group for the I/O subsystem to use to run blocking I/O requests

G

getAllocatedNativeResourceCount() - Static method in class software.amazon.awssdk.crt.CrtResource
 
getAllocatedNativeResources() - Static method in class software.amazon.awssdk.crt.CrtResource
 
getBodyBufferSize() - Method in class software.amazon.awssdk.crt.http.HttpRequestOptions
 
getEncodedPath() - Method in class software.amazon.awssdk.crt.http.HttpRequest
 
getHeaders() - Method in class software.amazon.awssdk.crt.http.HttpRequest
 
getMaxConnections() - Method in class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
Getter methods
getMethod() - Method in class software.amazon.awssdk.crt.http.HttpRequest
 
getName() - Method in class software.amazon.awssdk.crt.http.HttpHeader
 
getPayload() - Method in class software.amazon.awssdk.crt.mqtt.MqttMessage
Gets the message payload
getResponseStatusCode() - Method in class software.amazon.awssdk.crt.http.HttpStream
Retrieves the Http Response Status Code
getState() - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Returns the current connection state.
getTopic() - Method in class software.amazon.awssdk.crt.mqtt.MqttMessage
Gets the topic associated with this message
getUri() - Method in class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
 
getValue() - Method in class software.amazon.awssdk.crt.http.HttpHeader
 
getValue() - Method in enum software.amazon.awssdk.crt.http.HttpHeaderBlock
 
getValue() - Method in enum software.amazon.awssdk.crt.mqtt.QualityOfService
 
getWindowSize() - Method in class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
 

H

HostResolver - Class in software.amazon.awssdk.crt.io
 
HostResolver(EventLoopGroup) - Constructor for class software.amazon.awssdk.crt.io.HostResolver
 
HostResolver(EventLoopGroup, int) - Constructor for class software.amazon.awssdk.crt.io.HostResolver
 
HttpConnection - Class in software.amazon.awssdk.crt.http
This class wraps aws-c-http to provide the basic HTTP request/response functionality via the AWS Common Runtime.
HttpConnection(HttpConnectionPoolManager, long) - Constructor for class software.amazon.awssdk.crt.http.HttpConnection
 
HttpConnectionPoolManager - Class in software.amazon.awssdk.crt.http
Manages a Pool of Http Connections
HttpConnectionPoolManager(ClientBootstrap, SocketOptions, TlsContext, URI) - Constructor for class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
 
HttpConnectionPoolManager(ClientBootstrap, SocketOptions, TlsContext, URI, int, int) - Constructor for class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
 
HttpException - Exception in software.amazon.awssdk.crt.http
This exception will be thrown by any exceptional cases encountered within the JNI bindings to the AWS Common Runtime
HttpException(int) - Constructor for exception software.amazon.awssdk.crt.http.HttpException
 
HttpHeader - Class in software.amazon.awssdk.crt.http
 
HttpHeader(String, String) - Constructor for class software.amazon.awssdk.crt.http.HttpHeader
 
HttpHeaderBlock - Enum in software.amazon.awssdk.crt.http
Quality of Service associated with a publish action or subscription [MQTT-4.3].
HttpRequest - Class in software.amazon.awssdk.crt.http
Represents a single Client Request to be sent on a HTTP connection
HttpRequest(String, String) - Constructor for class software.amazon.awssdk.crt.http.HttpRequest
 
HttpRequest(String, String, HttpHeader[]) - Constructor for class software.amazon.awssdk.crt.http.HttpRequest
 
HttpRequestOptions - Class in software.amazon.awssdk.crt.http
This class provides access to Http Request handling options.
HttpRequestOptions() - Constructor for class software.amazon.awssdk.crt.http.HttpRequestOptions
 
HttpStream - Class in software.amazon.awssdk.crt.http
An HttpStream represents a single Http Request/Response pair within a HttpConnection, and wraps the native resources from the aws-c-http library.
HttpStream(long) - Constructor for class software.amazon.awssdk.crt.http.HttpStream
 

I

incrementWindow(int) - Method in class software.amazon.awssdk.crt.http.HttpStream
Opens the Sliding Read/Write Window by the number of bytes passed as an argument for this HttpStream.
initMTLSFromPath(String, String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the path to the certificate that identifies this TLS host.
initMTLSPkcs12(String, String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
OSX only - Initializes MTLS with PKCS12 file and password
isAlpnSupported() - Static method in class software.amazon.awssdk.crt.io.TlsContextOptions
Returns whether or not ALPN is supported on the current platform
isCipherPreferenceSupported(TlsCipherPreference) - Static method in class software.amazon.awssdk.crt.io.TlsContextOptions
Returns whether or not the current platform can be configured to a specific TlsCipherPreference.
isNull() - Method in class software.amazon.awssdk.crt.CrtResource
 
isSupported() - Method in enum software.amazon.awssdk.crt.io.TlsCipherPreference
Not all Cipher Preferences are supported on all Platforms due to differences in the underlying TLS Libraries.

M

makeRequest(HttpRequest, HttpRequestOptions, CrtHttpStreamHandler) - Method in class software.amazon.awssdk.crt.http.HttpConnection
Schedules an HttpRequest on the Native EventLoop for this HttpConnection.
MqttClient - Class in software.amazon.awssdk.crt.mqtt
This class wraps aws-c-mqtt to provide the basic MQTT pub/sub functionalities via the AWS Common Runtime One MqttClient class is needed per application.
MqttClient() - Constructor for class software.amazon.awssdk.crt.mqtt.MqttClient
Creates a default MqttClient with no TLS and a ClientBootstrap constructed with default settings
MqttClient(ClientBootstrap) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttClient
Creates an MqttClient from the provided ClientBootstrap with no TLS
MqttClient(ClientBootstrap, TlsContext) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttClient
Creates an MqttClient from the provided ClientBootstrap and TlsContext
MqttConnection - Class in software.amazon.awssdk.crt.mqtt
This class wraps aws-c-mqtt to provide the basic MQTT pub/sub functionality via the AWS Common Runtime MqttConnection represents a single connection from one MqttClient to an MQTT service endpoint
MqttConnection(MqttClient) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttConnection
Constructs a new MqttConnection.
MqttConnection(MqttClient, MqttConnectionEvents) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttConnection
Constructs a new MqttConnection.
MqttConnection.ConnectionState - Enum in software.amazon.awssdk.crt.mqtt
 
MqttConnectionEvents - Interface in software.amazon.awssdk.crt.mqtt
Interface used to receive connection events from the CRT
MqttException - Exception in software.amazon.awssdk.crt.mqtt
This exception will be thrown by any exceptional cases encountered within the JNI bindings to the AWS Common Runtime
MqttException(String) - Constructor for exception software.amazon.awssdk.crt.mqtt.MqttException
 
MqttException(int) - Constructor for exception software.amazon.awssdk.crt.mqtt.MqttException
 
MqttMessage - Class in software.amazon.awssdk.crt.mqtt
Represents a single message to be published or that was published to a connection
MqttMessage(String, ByteBuffer) - Constructor for class software.amazon.awssdk.crt.mqtt.MqttMessage
Constructs a new payload

N

native_ptr() - Method in class software.amazon.awssdk.crt.CrtResource
 

O

onConnectionInterrupted(int) - Method in interface software.amazon.awssdk.crt.mqtt.MqttConnectionEvents
connection was lost (or disconnected), reconnect will be attempted automatically until disconnect() is called
onConnectionResumed(boolean) - Method in interface software.amazon.awssdk.crt.mqtt.MqttConnectionEvents
called on first successful connect, and whenever a reconnect succeeds
onFailure(Throwable) - Method in interface software.amazon.awssdk.crt.AsyncCallback
 
onResponseBody(HttpStream, ByteBuffer) - Method in interface software.amazon.awssdk.crt.http.CrtHttpStreamHandler
Called when new Response Body bytes have been received.
onResponseComplete(HttpStream, int) - Method in interface software.amazon.awssdk.crt.http.CrtHttpStreamHandler
Called from Native when the Response has completed.
onResponseHeaders(HttpStream, int, HttpHeader[]) - Method in interface software.amazon.awssdk.crt.http.CrtHttpStreamHandler
Called from Native when new Http Headers have been received.
onResponseHeadersDone(HttpStream, int) - Method in interface software.amazon.awssdk.crt.http.CrtHttpStreamHandler
Called from Native once all HTTP Headers are processed.
onSuccess() - Method in interface software.amazon.awssdk.crt.AsyncCallback
 
onSuccess(Object) - Method in interface software.amazon.awssdk.crt.AsyncCallback
 
overrideDefaultTrustStore(String, String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Helper function to provide a TlsContext-local trust store
own(T) - Method in class software.amazon.awssdk.crt.CrtResource
Marks a SubResource as owned by this Resource.

P

publish(MqttMessage, QualityOfService, boolean) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Publishes a message to a topic

Q

QualityOfService - Enum in software.amazon.awssdk.crt.mqtt
Quality of Service associated with a publish action or subscription [MQTT-4.3].

R

release() - Method in class software.amazon.awssdk.crt.CrtResource
 
releaseConnection(HttpConnection) - Method in class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
Releases this HttpConnection back into the Connection Pool, and allows another Request to acquire this connection.
releaseConnectionPointer(long) - Method in class software.amazon.awssdk.crt.http.HttpConnectionPoolManager
 

S

sendRequestBody(HttpStream, ByteBuffer) - Method in interface software.amazon.awssdk.crt.http.CrtHttpStreamHandler
Called from Native when the Http Request has a Body (Eg PUT/POST requests).
setAlpnList(String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the ALPN protocol list that will be provided when a TLS connection starts
setBodyBufferSize(int) - Method in class software.amazon.awssdk.crt.http.HttpRequestOptions
 
setCipherPreference(TlsCipherPreference) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the TLS Cipher Preferences that can be negotiated and used during the TLS Connection.
setLogin(String, String) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Sets the login credentials for the connection.
setMinimumTlsVersion(TlsContextOptions.TlsVersions) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Sets the minimum acceptable TLS version that the TlsContext will allow.
setVerifyPeer(boolean) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
Set whether or not the peer should be verified.
setWill(MqttMessage, QualityOfService, boolean) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Sets the last will and testament message to be delivered to a topic when this client disconnects
SocketOptions - Class in software.amazon.awssdk.crt.io
This class wraps the aws_socket_options from aws-c-io to provide access to TCP/UDP socket configuration in the AWS Common Runtime.
SocketOptions() - Constructor for class software.amazon.awssdk.crt.io.SocketOptions
Creates a new set of socket options
SocketOptions.SocketDomain - Enum in software.amazon.awssdk.crt.io
Socket communications domain
SocketOptions.SocketType - Enum in software.amazon.awssdk.crt.io
Socket type
software.amazon.awssdk.crt - package software.amazon.awssdk.crt
 
software.amazon.awssdk.crt.http - package software.amazon.awssdk.crt.http
 
software.amazon.awssdk.crt.io - package software.amazon.awssdk.crt.io
 
software.amazon.awssdk.crt.mqtt - package software.amazon.awssdk.crt.mqtt
 
software.amazon.awssdk.crt.utils - package software.amazon.awssdk.crt.utils
 
subscribe(String, QualityOfService, Consumer<MqttMessage>) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Subscribes to a topic

T

TlsCipherPreference - Enum in software.amazon.awssdk.crt.io
A TlsCipherPreference represents a hardcoded ordered list of TLS Ciphers to use when negotiating a TLS Connection.
TlsContext - Class in software.amazon.awssdk.crt.io
This class wraps the aws_tls_context from aws-c-io to provide access to TLS configuration contexts in the AWS Common Runtime.
TlsContext(TlsContextOptions) - Constructor for class software.amazon.awssdk.crt.io.TlsContext
Creates a new Client TlsContext.
TlsContext() - Constructor for class software.amazon.awssdk.crt.io.TlsContext
Creates a new Client TlsContext.
tlsContext() - Method in class software.amazon.awssdk.crt.mqtt.MqttClient
Get the TlsContext associated with this client
TlsContextOptions - Class in software.amazon.awssdk.crt.io
This class wraps the aws_tls_connection_options from aws-c-io to provide access to TLS configuration contexts in the AWS Common Runtime.
TlsContextOptions() - Constructor for class software.amazon.awssdk.crt.io.TlsContextOptions
Creates a new set of options that can be used to create a TlsContext
TlsContextOptions.TlsVersions - Enum in software.amazon.awssdk.crt.io
 
toString() - Method in class software.amazon.awssdk.crt.http.HttpHeader
 
transferData(ByteBuffer, ByteBuffer) - Static method in class software.amazon.awssdk.crt.utils.ByteBufferUtils
Transfers as much data as possible from an input ByteBuffer to an output ByteBuffer

U

unsubscribe(String) - Method in class software.amazon.awssdk.crt.mqtt.MqttConnection
Unsubscribes from a topic

V

valueOf(String) - Static method in enum software.amazon.awssdk.crt.http.HttpHeaderBlock
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.io.SocketOptions.SocketDomain
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.io.SocketOptions.SocketType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.io.TlsCipherPreference
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.io.TlsContextOptions.TlsVersions
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.mqtt.MqttConnection.ConnectionState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum software.amazon.awssdk.crt.mqtt.QualityOfService
Returns the enum constant of this type with the specified name.
values() - Static method in enum software.amazon.awssdk.crt.http.HttpHeaderBlock
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.io.SocketOptions.SocketDomain
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.io.SocketOptions.SocketType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.io.TlsCipherPreference
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.io.TlsContextOptions.TlsVersions
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.mqtt.MqttConnection.ConnectionState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum software.amazon.awssdk.crt.mqtt.QualityOfService
Returns an array containing the constants of this enum type, in the order they are declared.

W

withAlpnList(String) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
 
withBodyBufferSize(int) - Method in class software.amazon.awssdk.crt.http.HttpRequestOptions
 
withCipherPreference(TlsCipherPreference) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
.with() methods
withMinimumTlsVersion(TlsContextOptions.TlsVersions) - Method in class software.amazon.awssdk.crt.io.TlsContextOptions
 
wrapFuture(CompletableFuture<T>, T) - Static method in interface software.amazon.awssdk.crt.AsyncCallback
 
A B C D E G H I M N O P Q R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.