|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeign.codec.StringIncrementalDecoder
public class StringIncrementalDecoder
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface feign.codec.IncrementalDecoder |
---|
IncrementalDecoder.TextStream<T> |
Constructor Summary | |
---|---|
StringIncrementalDecoder()
|
Method Summary | |
---|---|
void |
decode(java.io.Reader reader,
java.lang.reflect.Type type,
IncrementalCallback<? super java.lang.String> incrementalCallback)
Implement this to decode a resource to an object into a single object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringIncrementalDecoder()
Method Detail |
---|
public void decode(java.io.Reader reader, java.lang.reflect.Type type, IncrementalCallback<? super java.lang.String> incrementalCallback) throws java.io.IOException
IncrementalDecoder
DecodeException
.
onSuccess
or
onFailure
.
decode
in interface IncrementalDecoder<java.io.Reader,java.lang.String>
reader
- if Closeable
, no need to close this, as the caller
manages resources.type
- type parameter of IncrementalCallback.onNext(T)
.incrementalCallback
- call onNext
each time an object of type
is decoded
from the response.
java.io.IOException
- will be propagated safely to the caller.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |