Package feign.codec

Interface Summary
Decoder<I,T> Decodes an HTTP response into a given type.
Decoder.TextStream<T> Used for text-based apis, follows Decoder.decode(Object, java.lang.reflect.Type) semantics, applied to inputs of type Reader.
Decoders.ApplyFirstGroup<T> guava users will implement this with ApplyFirstGroup<String, T>.
Encoder<T> Encodes an object into an HTTP request body.
Encoder.Text<T> Converts objects to an appropriate text representation.
ErrorDecoder Allows you to massage an exception into a application-specific one.
IncrementalDecoder<I,T> Decodes an HTTP response incrementally into an IncrementalCallback via a series of onNext calls.
IncrementalDecoder.TextStream<T> Used for text-based apis, follows IncrementalDecoder.decode(Object, java.lang.reflect.Type, IncrementalCallback) semantics, applied to inputs of type Reader.
SAXDecoder.ContentHandlerWithResult<T>  
 

Class Summary
Decoders Static utility methods pertaining to Decoder instances.
Decoders.TransformEachFirstGroup<T> On the each find the first match group is applied to applyFirstGroup and added to the list returned.
Decoders.TransformFirstGroup<T> The first match group is applied to applyGroups and result returned.
ErrorDecoder.Default  
ErrorDecoder.RetryAfterDecoder Decodes a Util.RETRY_AFTER header into an absolute date, if possible.
SAXDecoder<T>  
StringDecoder Adapted from com.google.common.io.CharStreams.toString().
StringIncrementalDecoder  
 

Exception Summary
DecodeException Similar to javax.websocket.DecodeException, raised when a problem occurs decoding a message.
EncodeException Similar to javax.websocket.EncodeException, raised when a problem occurs decoding a message.