public class SpringInterceptor extends AbstractInterceptor implements org.springframework.context.ApplicationContextAware
Interceptor.Flowid, name, router| Constructor and Description |
|---|
SpringInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
Interceptor |
getInner() |
String |
getLongDescription() |
String |
getRefId() |
String |
getShortDescription() |
void |
handleAbort(Exchange exchange)
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(Router router) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setDisplayName(String name) |
void |
setRefId(String refid) |
public void setRefId(String refid)
public String getRefId()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic 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 exchange)
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 String getDisplayName()
getDisplayName in interface InterceptorgetDisplayName in class AbstractInterceptorpublic void setDisplayName(String name)
setDisplayName in interface InterceptorsetDisplayName in class AbstractInterceptorpublic String getShortDescription()
getShortDescription in interface InterceptorgetShortDescription in class AbstractInterceptorpublic String getLongDescription()
getLongDescription in interface InterceptorgetLongDescription in class AbstractInterceptorpublic void init(Router router) throws Exception
init in interface Interceptorinit in class AbstractInterceptorExceptionpublic Interceptor getInner()
Copyright © 2022. All Rights Reserved.