public class DefaultJsServingPipeline extends Object implements JsServingPipeline
JsServingPipeline.
The processing steps are executed by a JsProcessorRegistry, which can
be configured or replaced to add and remove processing steps, or to execute
different processing steps depending on the context.| Constructor and Description |
|---|
DefaultJsServingPipeline(JsProcessorRegistry jsProcessorRegistry) |
| Modifier and Type | Method and Description |
|---|---|
JsResponse |
execute(JsRequest jsRequest)
Executes the steps in the pipeline and returns the resulting response.
|
@Inject public DefaultJsServingPipeline(JsProcessorRegistry jsProcessorRegistry)
public JsResponse execute(JsRequest jsRequest) throws JsException
JsServingPipelineexecute in interface JsServingPipelinejsRequest - The JS request.JsException - If any of the steps resulted in an error.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.