Package htmlflow.continuations
Class HtmlContinuationAsync<E extends org.xmlet.htmlapifaster.Element,T>
java.lang.Object
htmlflow.continuations.HtmlContinuation
htmlflow.continuations.HtmlContinuationAsync<E,T>
- Type Parameters:
E- the type of the parent HTML element received by the dynamic HTML block.T- the type of the template's model.
public class HtmlContinuationAsync<E extends org.xmlet.htmlapifaster.Element,T>
extends HtmlContinuation
HtmlContinuation for an asynchronous block (i.e. AwaitConsumer) depending of an asynchronous object model.
The next continuation will be invoked on completion of asynchronous object model.
-
Field Summary
Fields inherited from class htmlflow.continuations.HtmlContinuation
next -
Constructor Summary
ConstructorsConstructorDescriptionHtmlContinuationAsync(int currentDepth, boolean isClosed, E element, org.xmlet.htmlapifaster.async.AwaitConsumer<E, T> consumer, HtmlVisitor visitor, HtmlContinuation next) -
Method Summary
Modifier and TypeMethodDescriptioncopy(HtmlVisitor v) Creates a copy of this HtmlContinuation with a new visitorfinal voidExecutes this continuation and calls the next one if exist.Methods inherited from class htmlflow.continuations.HtmlContinuation
getNext
-
Constructor Details
-
HtmlContinuationAsync
public HtmlContinuationAsync(int currentDepth, boolean isClosed, E element, org.xmlet.htmlapifaster.async.AwaitConsumer<E, T> consumer, HtmlVisitor visitor, HtmlContinuation next)
-
-
Method Details
-
execute
Description copied from class:HtmlContinuationExecutes this continuation and calls the next one if exist.- Specified by:
executein classHtmlContinuation
-
copy
Description copied from class:HtmlContinuationCreates a copy of this HtmlContinuation with a new visitor- Specified by:
copyin classHtmlContinuation
-
copyElement
-