public final class AwsCborProtocolFactory extends BaseAwsJsonProtocolFactory
SdkSystemSetting.CBOR_ENABLED is
set to false.| Modifier and Type | Class and Description |
|---|---|
static class |
AwsCborProtocolFactory.Builder
Builder for
AwsJsonProtocolFactory. |
AWS_JSON| Modifier and Type | Method and Description |
|---|---|
static AwsCborProtocolFactory.Builder |
builder() |
protected JsonContentTypeResolver |
getContentTypeResolver() |
protected Map<MarshallLocation,TimestampFormatTrait.Format> |
getDefaultTimestampFormats()
CBOR uses epoch millis for timestamps rather than epoch seconds with millisecond decimal precision like JSON protocols.
|
protected StructuredJsonFactory |
getSdkFactory() |
createErrorResponseHandler, createProtocolMarshaller, createResponseHandler, createResponseHandler, getContentTypeprotected JsonContentTypeResolver getContentTypeResolver()
getContentTypeResolver in class BaseAwsJsonProtocolFactoryprotected StructuredJsonFactory getSdkFactory()
getSdkFactory in class BaseAwsJsonProtocolFactoryStructuredJsonFactory to use in creating handlers.protected Map<MarshallLocation,TimestampFormatTrait.Format> getDefaultTimestampFormats()
getDefaultTimestampFormats in class BaseAwsJsonProtocolFactorypublic static AwsCborProtocolFactory.Builder builder()
Copyright © 2020. All rights reserved.