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

A

accessKey(String) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder2
 
accessKey() - Method in interface com.github.davidmoten.aws.lw.client.Credentials
 
accessKey() - Method in class com.github.davidmoten.aws.lw.client.internal.CredentialsImpl
 
addChild(XmlElement) - Method in class com.github.davidmoten.xml.XmlElement
 
ALGORITHM - Static variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
attribute(String, String) - Method in class com.github.davidmoten.aws.lw.client.Client
 
attribute(String, String) - Method in class com.github.davidmoten.aws.lw.client.Request
 
attribute(String) - Method in class com.github.davidmoten.xml.XmlElement
Returns an attribute of the element.
attribute(String, String) - Method in class com.github.davidmoten.xml.XmlElement
Returns an attribute of the element.
attributeNames() - Method in class com.github.davidmoten.xml.XmlElement
 
attributePrefix(String) - Method in class com.github.davidmoten.aws.lw.client.Client
 
attributePrefix(String) - Method in class com.github.davidmoten.aws.lw.client.Request
 
AWS4SignerBase - Class in com.github.davidmoten.aws.lw.client.internal.auth
Common methods and properties for all AWS4 signer variants
AWS4SignerBase(URL, String, String, String) - Constructor for class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
Create a new AWS V4 signer.
AWS4SignerForAuthorizationHeader - Class in com.github.davidmoten.aws.lw.client.internal.auth
Sample AWS4 signer demonstrating how to sign requests to Amazon S3 using an 'Authorization' header.
AWS4SignerForAuthorizationHeader(URL, String, String, String) - Constructor for class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerForAuthorizationHeader
 
AWS4SignerForChunkedUpload - Class in com.github.davidmoten.aws.lw.client.internal.auth
Sample AWS4 signer demonstrating how to sign 'chunked' uploads
AWS4SignerForChunkedUpload(URL, String, String, String) - Constructor for class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerForChunkedUpload
 
AWS4SignerForQueryParameterAuth - Class in com.github.davidmoten.aws.lw.client.internal.auth
Sample AWS4 signer demonstrating how to sign requests to Amazon S3 using query string parameters.
AWS4SignerForQueryParameterAuth(URL, String, String, String) - Constructor for class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerForQueryParameterAuth
 

B

build() - Method in class com.github.davidmoten.aws.lw.client.Client.Builder4
 

C

calculateChunkedContentLength(long, long) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerForChunkedUpload
Calculates the expanded payload size of our data when it is chunked
canonicalMetadataKey(String) - Static method in class com.github.davidmoten.aws.lw.client.internal.util.Util
 
checkArgument(boolean, String) - Static method in class com.github.davidmoten.xml.Preconditions
 
checkArgument(boolean) - Static method in class com.github.davidmoten.xml.Preconditions
 
checkNotNull(T) - Static method in class com.github.davidmoten.xml.Preconditions
 
checkNotNull(T, String) - Static method in class com.github.davidmoten.xml.Preconditions
 
child(int) - Method in class com.github.davidmoten.xml.XmlElement
 
child(String...) - Method in class com.github.davidmoten.xml.XmlElement
 
children() - Method in class com.github.davidmoten.xml.XmlElement
 
childrenWithName(String) - Method in class com.github.davidmoten.xml.XmlElement
 
Client - Class in com.github.davidmoten.aws.lw.client
 
Client.Builder - Class in com.github.davidmoten.aws.lw.client
 
Client.Builder2 - Class in com.github.davidmoten.aws.lw.client
 
Client.Builder3 - Class in com.github.davidmoten.aws.lw.client
 
Client.Builder4 - Class in com.github.davidmoten.aws.lw.client
 
com.github.davidmoten.aws.lw.client - package com.github.davidmoten.aws.lw.client
 
com.github.davidmoten.aws.lw.client.internal - package com.github.davidmoten.aws.lw.client.internal
 
com.github.davidmoten.aws.lw.client.internal.auth - package com.github.davidmoten.aws.lw.client.internal.auth
 
com.github.davidmoten.aws.lw.client.internal.util - package com.github.davidmoten.aws.lw.client.internal.util
 
com.github.davidmoten.xml - package com.github.davidmoten.xml
 
computeSignature(Map<String, String>, Map<String, String>, String, String, String) - Method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerForAuthorizationHeader
Computes an AWS4 signature for a request, ready for inclusion as an 'Authorization' header.
computeSignature(Map<String, String>, Map<String, String>, String, String, String) - Method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerForChunkedUpload
Computes an AWS4 signature for a request, ready for inclusion as an 'Authorization' header.
computeSignature(Map<String, String>, Map<String, String>, String, String, String) - Method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerForQueryParameterAuth
Computes an AWS4 authorization for a request, suitable for embedding in query parameters.
connectTimeoutMs(int) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder4
 
connectTimeoutMs(int) - Method in class com.github.davidmoten.aws.lw.client.Request
 
constructSignedChunk(int, byte[]) - Method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerForChunkedUpload
Returns a chunk for upload consisting of the signed 'header' or chunk prefix plus the user data.
content() - Method in class com.github.davidmoten.aws.lw.client.Response
 
content(String...) - Method in class com.github.davidmoten.xml.XmlElement
 
content() - Method in class com.github.davidmoten.xml.XmlElement
Returns the PCDATA content of the object.
contentUtf8() - Method in class com.github.davidmoten.aws.lw.client.Response
 
countChildren() - Method in class com.github.davidmoten.xml.XmlElement
 
create(Response) - Method in interface com.github.davidmoten.aws.lw.client.ExceptionFactory
Returns a RuntimeException (or subclass) if the response error condition is met (usually !response.isOk().
create(Response) - Method in class com.github.davidmoten.aws.lw.client.internal.ExceptionFactoryDefault
 
create(Response) - Method in class com.github.davidmoten.aws.lw.client.internal.ExceptionFactoryExtended
 
createHttpConnection(URL, String, Map<String, String>) - Static method in class com.github.davidmoten.aws.lw.client.internal.util.HttpUtils
 
createHttpConnection(URL, String, Map<String, String>, int, int) - Static method in class com.github.davidmoten.aws.lw.client.internal.util.HttpUtils
 
credentials(Credentials) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder2
 
Credentials - Interface in com.github.davidmoten.aws.lw.client
 
CredentialsImpl - Class in com.github.davidmoten.aws.lw.client.internal
 
CredentialsImpl(String, String, Optional<String>) - Constructor for class com.github.davidmoten.aws.lw.client.internal.CredentialsImpl
 

D

dateStampFormat - Variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
DateStringFormat - Static variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
dateTimeFormat - Variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
DEFAULT - Static variable in interface com.github.davidmoten.aws.lw.client.ExceptionFactory
 
defaultClient() - Method in class com.github.davidmoten.aws.lw.client.Client.Builder
 
defaultClient() - Static method in interface com.github.davidmoten.aws.lw.client.HttpClient
 

E

ec2() - Static method in class com.github.davidmoten.aws.lw.client.Client
 
EMPTY_BODY_SHA256 - Static variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
SHA256 hash of an empty request body
endpointUrl - Variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
entrySet() - Method in class com.github.davidmoten.aws.lw.client.Metadata
 
exception(Predicate<? super Response>, Function<? super Response, ? extends RuntimeException>) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder4
 
exceptionFactory(ExceptionFactory) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder4
 
ExceptionFactory - Interface in com.github.davidmoten.aws.lw.client
 
ExceptionFactoryDefault - Class in com.github.davidmoten.aws.lw.client.internal
 
ExceptionFactoryDefault() - Constructor for class com.github.davidmoten.aws.lw.client.internal.ExceptionFactoryDefault
 
ExceptionFactoryExtended - Class in com.github.davidmoten.aws.lw.client.internal
 
ExceptionFactoryExtended(ExceptionFactory, Predicate<? super Response>, Function<? super Response, ? extends RuntimeException>) - Constructor for class com.github.davidmoten.aws.lw.client.internal.ExceptionFactoryExtended
 
execute() - Method in class com.github.davidmoten.aws.lw.client.Request
 
executeHttpRequest(HttpURLConnection) - Static method in class com.github.davidmoten.aws.lw.client.internal.util.HttpUtils
 

F

firstChild() - Method in class com.github.davidmoten.xml.XmlElement
 
from(Client) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder
 
fromEnvironment() - Static method in interface com.github.davidmoten.aws.lw.client.Credentials
 

G

getCanonicalizedHeaderString(Map<String, String>) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
Computes the canonical headers with values for the request.
getCanonicalizedQueryString(Map<String, String>) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
Examines the specified query string parameters and returns a canonicalized form.
getCanonicalizedResourcePath(URL) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
Returns the canonicalized resource path for the service endpoint.
getCanonicalizeHeaderNames(Map<String, String>) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
Returns the canonical collection of header names that will be included in the signature.
getCanonicalRequest(URL, String, String, String, String, String) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
Returns the canonical request string to go into the signer process; this consists of several canonical sub-parts.
getLineNr() - Method in exception com.github.davidmoten.xml.XmlParseException
Where the error occurred, or NO_LINE if the line number is unknown.
getStringToSign(String, String, String, String, String) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 

H

hasChildren() - Method in class com.github.davidmoten.xml.XmlElement
 
hash(String) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
Hashes the string contents (assumed to be UTF-8) using the SHA-256 algorithm.
hash(byte[]) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
Hashes the byte array using the SHA-256 algorithm.
header(String, String) - Method in class com.github.davidmoten.aws.lw.client.Request
 
headers() - Method in class com.github.davidmoten.aws.lw.client.Response
 
httpClient(HttpClient) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder4
 
HttpClient - Interface in com.github.davidmoten.aws.lw.client
 
HttpClientDefault - Class in com.github.davidmoten.aws.lw.client.internal
 
HttpMethod - Enum in com.github.davidmoten.aws.lw.client
 
httpMethod - Variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
HttpUtils - Class in com.github.davidmoten.aws.lw.client.internal.util
Various Http helper routines
HttpUtils() - Constructor for class com.github.davidmoten.aws.lw.client.internal.util.HttpUtils
 

I

iam() - Static method in class com.github.davidmoten.aws.lw.client.Client
 
INSTANCE - Static variable in class com.github.davidmoten.aws.lw.client.internal.HttpClientDefault
 
invokeHttpRequest(URL, String, Map<String, String>, String) - Static method in class com.github.davidmoten.aws.lw.client.internal.util.HttpUtils
Makes a http request to the specified endpoint
ISO8601BasicFormat - Static variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
format strings for the date/time and date stamps required during signing
isOk() - Method in class com.github.davidmoten.aws.lw.client.Response
 

L

lambda() - Static method in class com.github.davidmoten.aws.lw.client.Client
 
lineNumber() - Method in class com.github.davidmoten.xml.XmlElement
Returns the line nr in the source data on which the element is found.

M

message() - Method in exception com.github.davidmoten.aws.lw.client.ServiceException
 
Metadata - Class in com.github.davidmoten.aws.lw.client
 
metadata(String, String) - Method in class com.github.davidmoten.aws.lw.client.Request
Adds the header x-amz-meta-KEY:value.
metadata() - Method in class com.github.davidmoten.aws.lw.client.Response
Returns those headers that start with x-amz-meta- (and removes that prefix).
metadata(String) - Method in class com.github.davidmoten.aws.lw.client.Response
 
method(HttpMethod) - Method in class com.github.davidmoten.aws.lw.client.Request
 

N

name() - Method in class com.github.davidmoten.xml.XmlElement
Returns the name of the element.
NO_LINE - Static variable in exception com.github.davidmoten.xml.XmlParseException
Indicates that no line number has been associated with this exception.

O

of(String, String) - Static method in interface com.github.davidmoten.aws.lw.client.Credentials
 

P

parse(Reader) - Static method in class com.github.davidmoten.xml.XmlElement
 
parse(String) - Static method in class com.github.davidmoten.xml.XmlElement
 
path(String) - Method in class com.github.davidmoten.aws.lw.client.Client
Specify the path (can include query).
Preconditions - Class in com.github.davidmoten.xml
 

Q

query(String, String) - Method in class com.github.davidmoten.aws.lw.client.Client
 
query(String, String) - Method in class com.github.davidmoten.aws.lw.client.Request
 

R

readTimeoutMs(int) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder4
 
readTimeoutMs(int) - Method in class com.github.davidmoten.aws.lw.client.Request
 
regionFromEnvironment() - Method in class com.github.davidmoten.aws.lw.client.Client.Builder
 
regionName(String) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder
 
regionName() - Method in class com.github.davidmoten.aws.lw.client.Client
 
regionName - Variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
regionName(String) - Method in class com.github.davidmoten.aws.lw.client.Request
 
request(URL, String, Map<String, String>, byte[], int, int) - Method in interface com.github.davidmoten.aws.lw.client.HttpClient
 
request(URL, String, Map<String, String>, byte[], int, int) - Method in class com.github.davidmoten.aws.lw.client.internal.HttpClientDefault
 
Request - Class in com.github.davidmoten.aws.lw.client
 
requestBody(byte[]) - Method in class com.github.davidmoten.aws.lw.client.Request
 
requestBody(String) - Method in class com.github.davidmoten.aws.lw.client.Request
 
response() - Method in class com.github.davidmoten.aws.lw.client.Request
Opens a connection and makes the request.
Response - Class in com.github.davidmoten.aws.lw.client
 
Response(Map<String, List<String>>, byte[], int) - Constructor for class com.github.davidmoten.aws.lw.client.Response
 
responseAsBytes() - Method in class com.github.davidmoten.aws.lw.client.Request
 
responseAsUtf8() - Method in class com.github.davidmoten.aws.lw.client.Request
 
responseAsUtf8(Consumer<String>) - Method in class com.github.davidmoten.aws.lw.client.Request
 
responseAsXml() - Method in class com.github.davidmoten.aws.lw.client.Request
 

S

s3() - Static method in class com.github.davidmoten.aws.lw.client.Client
 
SCHEME - Static variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
secretKey(String) - Method in class com.github.davidmoten.aws.lw.client.Client.Builder3
 
secretKey() - Method in interface com.github.davidmoten.aws.lw.client.Credentials
 
secretKey() - Method in class com.github.davidmoten.aws.lw.client.internal.CredentialsImpl
 
service(String) - Static method in class com.github.davidmoten.aws.lw.client.Client
 
ServiceException - Exception in com.github.davidmoten.aws.lw.client
 
ServiceException(int, String) - Constructor for exception com.github.davidmoten.aws.lw.client.ServiceException
 
serviceName - Variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
sessionToken() - Method in interface com.github.davidmoten.aws.lw.client.Credentials
 
sessionToken() - Method in class com.github.davidmoten.aws.lw.client.internal.CredentialsImpl
 
sign(String, byte[], String) - Static method in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
sns() - Static method in class com.github.davidmoten.aws.lw.client.Client
 
sqs() - Static method in class com.github.davidmoten.aws.lw.client.Client
 
statusCode() - Method in class com.github.davidmoten.aws.lw.client.Response
 
statusCode() - Method in exception com.github.davidmoten.aws.lw.client.ServiceException
 
STREAMING_BODY_SHA256 - Static variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerForChunkedUpload
SHA256 substitute marker used in place of x-amz-content-sha256 when employing chunked uploads

T

TERMINATOR - Static variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
toHex(byte[]) - Static method in class com.github.davidmoten.aws.lw.client.internal.util.Util
Converts byte data to a Hex-encoded string.
toString() - Method in class com.github.davidmoten.xml.XmlElement
 

U

UNSIGNED_PAYLOAD - Static variable in class com.github.davidmoten.aws.lw.client.internal.auth.AWS4SignerBase
 
url(String) - Method in class com.github.davidmoten.aws.lw.client.Client
 
urlEncode(String, boolean) - Static method in class com.github.davidmoten.aws.lw.client.internal.util.HttpUtils
 
Util - Class in com.github.davidmoten.aws.lw.client.internal.util
Utilities for encoding and decoding binary data to and from different forms.

V

value(String) - Method in class com.github.davidmoten.aws.lw.client.Metadata
 
valueOf(String) - Static method in enum com.github.davidmoten.aws.lw.client.HttpMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.davidmoten.aws.lw.client.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(Writer) - Method in class com.github.davidmoten.xml.XmlElement
 

X

XmlElement - Class in com.github.davidmoten.xml
 
XmlElement() - Constructor for class com.github.davidmoten.xml.XmlElement
 
XmlParseException - Exception in com.github.davidmoten.xml
An XMLParseException is thrown when an error occures while parsing an XML string.
XmlParseException(String, String) - Constructor for exception com.github.davidmoten.xml.XmlParseException
Creates an exception.
XmlParseException(String, int, String) - Constructor for exception com.github.davidmoten.xml.XmlParseException
Creates an exception.
A B C D E F G H I L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2021. All rights reserved.