public class JavascriptInterceptor extends AbstractInterceptor
Interceptor.Flowid, name, router| Constructor and Description |
|---|
JavascriptInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLongDescription() |
String |
getShortDescription() |
String |
getSrc() |
void |
handleAbort(Exchange exc)
Called when any
Interceptor.handleRequest(Exchange) or
Interceptor.handleResponse(Exchange) later in the chain returned
Outcome.ABORT or threw an exception. |
Outcome |
handleRequest(Exchange exc) |
Outcome |
handleResponse(Exchange exc) |
void |
init()
Called after parsing is complete and this has been added to the object tree (whose root is Router).
|
void |
setSrc(String src) |
getDisplayName, getFlow, getHelpId, getId, getRouter, getRule, init, setDisplayName, setFlow, setIdpublic Outcome handleRequest(Exchange exc) throws Exception
handleRequest in interface InterceptorhandleRequest in class AbstractInterceptorExceptionpublic Outcome handleResponse(Exchange exc) throws Exception
handleResponse in interface InterceptorhandleResponse in class AbstractInterceptorExceptionpublic void handleAbort(Exchange exc)
InterceptorInterceptor.handleRequest(Exchange) or
Interceptor.handleResponse(Exchange) later in the chain returned
Outcome.ABORT or threw an exception.
handleAbort is called in the reverse order of the chain (as
handleResponse is).handleAbort in interface InterceptorhandleAbort in class AbstractInterceptorpublic void init()
throws IOException,
ClassNotFoundException
AbstractInterceptorinit in class AbstractInterceptorIOExceptionClassNotFoundExceptionpublic String getSrc()
public void setSrc(String src)
public String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorpublic String getLongDescription()
getLongDescription in interface InterceptorgetLongDescription in class AbstractInterceptorCopyright © 2022. All Rights Reserved.