|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qi4j.library.rest.client.ResponseReaderDelegator
public class ResponseReaderDelegator
Delegates to a list of potential readers. Register readers on startup.
Constructor Summary | |
---|---|
ResponseReaderDelegator()
|
Method Summary | |
---|---|
void |
initialize()
Initialize the fragment |
java.lang.Object |
readResponse(org.restlet.Response response,
java.lang.Class<?> resultType)
|
void |
registerResponseReader(ResponseReader reader)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResponseReaderDelegator()
Method Detail |
---|
public void initialize() throws InitializationException
Initializable
initialize
in interface Initializable
InitializationException
- if something went wrongpublic void registerResponseReader(ResponseReader reader)
public java.lang.Object readResponse(org.restlet.Response response, java.lang.Class<?> resultType)
readResponse
in interface ResponseReader
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |