public interface Interceptor
| Modifier and Type | Interface and Description |
|---|---|
static class |
Interceptor.Flow |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
EnumSet<Interceptor.Flow> |
getFlow() |
String |
getHelpId() |
String |
getId() |
String |
getLongDescription() |
Router |
getRouter() |
String |
getShortDescription() |
void |
handleAbort(Exchange exchange)
Called when any
handleRequest(Exchange) or
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 |
setDisplayName(String name) |
void |
setFlow(EnumSet<Interceptor.Flow> flow) |
void |
setId(String id) |
void handleAbort(Exchange exchange)
handleRequest(Exchange) or
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).String getDisplayName()
void setDisplayName(String name)
String getId()
void setId(String id)
Router getRouter()
void setFlow(EnumSet<Interceptor.Flow> flow)
EnumSet<Interceptor.Flow> getFlow()
String getShortDescription()
String getLongDescription()
String getHelpId()
Copyright © 2021. All Rights Reserved.