public interface FutureParserContext
This class is based on ParserContext
ParserContext
Modifier and Type | Method and Description |
---|---|
void |
characters(Future<CharSequence> csq)
Writes characters into current writer.
|
<T> T |
findAncestor(Class<T> type) |
FutureElement |
getCurrent() |
Object |
getData(String key)
Allow to get custom context data.
|
DriverRequest |
getHttpRequest() |
org.apache.http.HttpResponse |
getHttpResponse() |
boolean |
reportError(FutureElement element,
Exception e) |
DriverRequest getHttpRequest()
org.apache.http.HttpResponse getHttpResponse()
boolean reportError(FutureElement element, Exception e)
element
- e
- true
if error has been handled by this element and it should not be propagated further.FutureElement getCurrent()
<T> T findAncestor(Class<T> type)
Object getData(String key)
key
- keyvoid characters(Future<CharSequence> csq) throws IOException
csq
- sequenceIOException
- exceptionCopyright © 2008–2018. All rights reserved.