|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.norther.tammi.spray.engine.context.ContextBindingEvent
public class ContextBindingEvent
Events of this type are sent to an object that implements the
ContextBindingListener interface when it is bound to or
unbound from a context.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ContextBindingEvent(TemplateContext context,
HttpFilterChain chain,
String name)
Constructs a new event with a filter chain. |
|
ContextBindingEvent(TemplateContext context,
String name)
Constructs a new event. |
|
| Method Summary | |
|---|---|
TemplateContext |
getContext()
Gets the target context. |
HttpFilterChain |
getFilterChain()
Gets the filter chain if any. |
String |
getName()
Gets the bound name. |
ServletRequest |
getRequest()
Gets the current request if any. |
ServletResponse |
getResponse()
Gets the current response if any. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContextBindingEvent(TemplateContext context,
String name)
context - the context.name - the bound name.
public ContextBindingEvent(TemplateContext context,
HttpFilterChain chain,
String name)
context - the context.chain - the filter chain.name - the bound name.| Method Detail |
|---|
public TemplateContext getContext()
public ServletRequest getRequest()
public ServletResponse getResponse()
public HttpFilterChain getFilterChain()
public String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||