Package com.backblaze.b2.json
Class B2JsonNonUrlTypeHandler<T>
- java.lang.Object
-
- com.backblaze.b2.json.B2JsonInitializedTypeHandler<T>
-
- com.backblaze.b2.json.B2JsonNonUrlTypeHandler<T>
-
- All Implemented Interfaces:
B2JsonTypeHandler<T>
- Direct Known Subclasses:
B2JsonAtomicLongArrayHandler
,B2JsonBooleanArrayHandler
,B2JsonByteArrayHandler
,B2JsonCharArrayHandler
,B2JsonConcurrentMapHandler
,B2JsonDoubleArrayHandler
,B2JsonEnumSetHandler
,B2JsonFloatArrayHandler
,B2JsonIntArrayHandler
,B2JsonLinkedHashSetHandler
,B2JsonListHandler
,B2JsonLongArrayHandler
,B2JsonMapHandler
,B2JsonObjectArrayHandler
,B2JsonSetHandler
,B2JsonTreeSetHandler
public abstract class B2JsonNonUrlTypeHandler<T> extends B2JsonInitializedTypeHandler<T>
Base class for handlers that don't support reading URL parameters.
-
-
Constructor Summary
Constructors Constructor Description B2JsonNonUrlTypeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
deserializeUrlParam(java.lang.String urlValue)
When an API is called with GET, this is used to deserialize one of the values.-
Methods inherited from class com.backblaze.b2.json.B2JsonInitializedTypeHandler
initializeImplementation, isInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.backblaze.b2.json.B2JsonTypeHandler
defaultValueForOptional, deserialize, getHandledType, isStringInJson, serialize
-
-
-
-
Method Detail
-
deserializeUrlParam
public T deserializeUrlParam(java.lang.String urlValue) throws B2JsonException
Description copied from interface:B2JsonTypeHandler
When an API is called with GET, this is used to deserialize one of the values.- Throws:
B2JsonException
-
-