public abstract class BaseProtocolMetadataProvider extends Object implements ProtocolMetadataProvider
ProtocolMetadataProvider. Provides convenient default implementations
of certain methods to reduce duplication.| Constructor and Description |
|---|
BaseProtocolMetadataProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseExceptionFqcn() |
String |
getContentType()
Content type is hardcoded for very few protocols so we return null here for convenience.
|
boolean |
hasAsyncClient()
All AWS clients generate async variants of the service clients.
|
boolean |
isCborProtocol()
Default is false, subclasses can override to indicate they are CBOR protocols.
|
boolean |
isJsonProtocol()
Default is false, subclasses can override to indicate they are JSON protocols.
|
boolean |
isXmlProtocol()
Default is false, subclasses can override to indicate they are XML protocols.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExceptionUnmarshallerImpl, getUnmarshallerClassSuffix, getUnmarshallerContextClassNamepublic boolean isJsonProtocol()
isJsonProtocol in interface ProtocolMetadataProviderpublic boolean isXmlProtocol()
isXmlProtocol in interface ProtocolMetadataProviderpublic boolean isCborProtocol()
isCborProtocol in interface ProtocolMetadataProviderpublic String getContentType()
getContentType in interface ProtocolMetadataProviderpublic String getBaseExceptionFqcn()
getBaseExceptionFqcn in interface ProtocolMetadataProviderpublic boolean hasAsyncClient()
hasAsyncClient in interface ProtocolMetadataProviderCopyright © 2016. All rights reserved.