R - the request typepublic abstract class AbstractKvpDecoder<R extends OwsServiceRequest> extends Object implements Decoder<R,Map<String,String>>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractKvpDecoder.Builder<R extends OwsServiceRequest> |
| Constructor and Description |
|---|
AbstractKvpDecoder(Supplier<? extends R> supplier,
Collection<? extends DecoderKey> keys) |
AbstractKvpDecoder(Supplier<? extends R> supplier,
DecoderKey... keys) |
AbstractKvpDecoder(Supplier<? extends R> supplier,
String service,
String version,
Enum<?> operation) |
AbstractKvpDecoder(Supplier<? extends R> supplier,
String service,
String version,
String operation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSupportedTypespublic AbstractKvpDecoder(Supplier<? extends R> supplier, String service, String version, String operation)
public AbstractKvpDecoder(Supplier<? extends R> supplier, String service, String version, Enum<?> operation)
public AbstractKvpDecoder(Supplier<? extends R> supplier, DecoderKey... keys)
public AbstractKvpDecoder(Supplier<? extends R> supplier, Collection<? extends DecoderKey> keys)
public Set<DecoderKey> getKeys()
getKeys in interface Keyed<DecoderKey>public R decode(Map<String,String> parameters) throws DecodingException
decode in interface Decoder<R extends OwsServiceRequest,Map<String,String>>DecodingExceptionprotected void getCommonRequestParameterDefinitions(AbstractKvpDecoder.Builder<R> builder)
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 <T> ThrowingBiConsumer<R,T,DecodingException> asList(ThrowingBiConsumer<? super R,? super List<T>,DecodingException> delegate)
protected ThrowingBiConsumer<R,String,DecodingException> normalizeMediaType(ThrowingBiConsumer<? super R,? super String,DecodingException> delegate)
protected abstract void getRequestParameterDefinitions(AbstractKvpDecoder.Builder<R> builder)
Copyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.