|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseParser
Thread safety: any general-purpose implementation of this interface must be safe for use by multiple concurrent threads. However, thread safety is not necessary if you're making your own implementation and can be sure that any code that uses it (including any code that uses a RequestProcessor
that uses it) will only be called from a single thread.
Method Summary | |
---|---|
Response |
parseResponse(java.io.InputStream responseStream,
Request request)
Note that it is not the responsibility of this parser to close the responseStream . |
Method Detail |
---|
Response parseResponse(java.io.InputStream responseStream, Request request) throws java.io.IOException
responseStream
.
request
- this can be null or the Request
object that led to
the response. An implementation should be able to function without
access to the request, but the request might make some extra
functionality available in the response. If, for whatever reason,
you're creating your XML requests outside of this framework, just
pass null for this parameter. You might find that some
functionality of the response object model won't work, but you
should be able to work around that.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |