Package org.n52.iceland.binding.kvp
Class AbstractKvpDecoder<R extends OwsServiceRequest>
java.lang.Object
org.n52.iceland.binding.kvp.AbstractKvpDecoder<R>
- Type Parameters:
R- the request type
- All Implemented Interfaces:
Component<DecoderKey>,Keyed<DecoderKey>,Decoder<R,Map<String, String>>
public abstract class AbstractKvpDecoder<R extends OwsServiceRequest>
extends Object
implements Decoder<R,Map<String,String>>
TODO JavaDoc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classAbstractKvpDecoder.Builder<R extends OwsServiceRequest> -
Constructor Summary
ConstructorsConstructorDescriptionAbstractKvpDecoder(Supplier<? extends R> supplier, String service, String version, Enum<?> operation) AbstractKvpDecoder(Supplier<? extends R> supplier, String service, String version, String operation) AbstractKvpDecoder(Supplier<? extends R> supplier, Collection<? extends DecoderKey> keys) AbstractKvpDecoder(Supplier<? extends R> supplier, DecoderKey... keys) -
Method Summary
Modifier and TypeMethodDescriptionprotected <T> ThrowingBiConsumer<R, T, DecodingException> asList(ThrowingBiConsumer<? super R, ? super List<T>, DecodingException> delegate) decodeList(String value) protected ThrowingBiConsumer<R, String, DecodingException> decodeList(ThrowingBiConsumer<? super R, ? super List<String>, DecodingException> delegate) protected ThrowingTriConsumer<R, String, String, DecodingException> decodeList(ThrowingTriConsumer<? super R, ? super String, ? super List<String>, DecodingException> delegate) protected voidgetKeys()protected abstract voidprotected ThrowingBiConsumer<R, String, DecodingException> normalizeMediaType(ThrowingBiConsumer<? super R, ? super String, DecodingException> delegate) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.svalbard.decode.Decoder
getSupportedTypes
-
Constructor Details
-
AbstractKvpDecoder
-
AbstractKvpDecoder
-
AbstractKvpDecoder
-
AbstractKvpDecoder
-
-
Method Details
-
getKeys
- Specified by:
getKeysin interfaceKeyed<R extends OwsServiceRequest>
-
decode
- Specified by:
decodein interfaceDecoder<R extends OwsServiceRequest,Map<String, String>> - Throws:
DecodingException
-
getCommonRequestParameterDefinitions
-
decodeList
-
decodeList
protected ThrowingBiConsumer<R,String, decodeListDecodingException> (ThrowingBiConsumer<? super R, ? super List<String>, DecodingException> delegate) -
decodeList
protected ThrowingTriConsumer<R,String, decodeListString, DecodingException> (ThrowingTriConsumer<? super R, ? super String, ? super List<String>, DecodingException> delegate) -
asList
protected <T> ThrowingBiConsumer<R,T, asListDecodingException> (ThrowingBiConsumer<? super R, ? super List<T>, DecodingException> delegate) -
normalizeMediaType
protected ThrowingBiConsumer<R,String, normalizeMediaTypeDecodingException> (ThrowingBiConsumer<? super R, ? super String, DecodingException> delegate) -
getRequestParameterDefinitions
-