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.
|
String |
getRequestBaseFqcn() |
boolean |
isCborProtocol()
Default is false, subclasses can override to indicate they are CBOR protocols.
|
boolean |
isIonProtocol()
Default is false, subclasses can override to indicate they are Ion 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, getProtocolFactoryImplFqcn, getUnmarshallerClassSuffix, getUnmarshallerContextClassNamepublic boolean isJsonProtocol()
isJsonProtocol in interface ProtocolMetadataProviderpublic boolean isXmlProtocol()
isXmlProtocol in interface ProtocolMetadataProviderpublic boolean isCborProtocol()
isCborProtocol in interface ProtocolMetadataProviderpublic boolean isIonProtocol()
isIonProtocol in interface ProtocolMetadataProviderpublic String getContentType()
getContentType in interface ProtocolMetadataProviderpublic String getBaseExceptionFqcn()
getBaseExceptionFqcn in interface ProtocolMetadataProviderpublic String getRequestBaseFqcn()
getRequestBaseFqcn in interface ProtocolMetadataProviderCopyright © 2022. All rights reserved.