|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cxf.jaxws.handler.HandlerChainInvoker
public class HandlerChainInvoker
invoke the handlers in a registered handler chain
Constructor Summary | |
---|---|
HandlerChainInvoker(List<Handler> hc)
|
|
HandlerChainInvoker(List<Handler> hc,
boolean isOutbound)
|
Method Summary | |
---|---|
void |
adoptLogicalHandlers(HandlerChainInvoker invoker)
Allows an the logical handler chain for one invoker to be used as an alternate chain for another. |
boolean |
faultRaised()
|
Exception |
getFault()
|
List<LogicalHandler<?>> |
getLogicalHandlers()
|
LogicalMessageContext |
getLogicalMessageContext()
|
List<Handler<?>> |
getProtocolHandlers()
|
MessageContext |
getProtocolMessageContext()
|
boolean |
invokeLogicalHandlers(boolean requestor,
LogicalMessageContext context)
|
boolean |
invokeLogicalHandlersHandleFault(boolean requestor,
LogicalMessageContext context)
|
boolean |
invokeProtocolHandlers(boolean requestor,
MessageContext context)
|
boolean |
invokeProtocolHandlersHandleFault(boolean requestor,
MessageContext context)
|
boolean |
isClosed()
Indicates that the invoker is closed. |
boolean |
isInbound()
|
boolean |
isOutbound()
|
boolean |
isRequestor()
We need HandlerChainInvoker behaves differently on the client and server side. |
boolean |
isResponseExpected()
|
void |
mepComplete(Message message)
Invoke handlers at the end of an MEP calling close on each. |
void |
setFault(boolean fe)
|
protected void |
setFault(Exception ex)
|
void |
setInbound()
|
void |
setLogicalMessageContext(LogicalMessageContext mc)
|
void |
setOutbound()
|
void |
setProtocolMessageContext(MessageContext mc)
|
void |
setRequestor(boolean requestor)
|
void |
setResponseExpected(boolean expected)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandlerChainInvoker(List<Handler> hc)
public HandlerChainInvoker(List<Handler> hc, boolean isOutbound)
Method Detail |
---|
public List<LogicalHandler<?>> getLogicalHandlers()
public List<Handler<?>> getProtocolHandlers()
public LogicalMessageContext getLogicalMessageContext()
public void setLogicalMessageContext(LogicalMessageContext mc)
public MessageContext getProtocolMessageContext()
public void setProtocolMessageContext(MessageContext mc)
public boolean invokeLogicalHandlers(boolean requestor, LogicalMessageContext context)
public boolean invokeLogicalHandlersHandleFault(boolean requestor, LogicalMessageContext context)
public boolean invokeProtocolHandlers(boolean requestor, MessageContext context)
public boolean invokeProtocolHandlersHandleFault(boolean requestor, MessageContext context)
public void setResponseExpected(boolean expected)
public boolean isResponseExpected()
public boolean isOutbound()
public boolean isInbound()
public boolean isRequestor()
public void setRequestor(boolean requestor)
public void setInbound()
public void setOutbound()
public boolean faultRaised()
public Exception getFault()
public void setFault(boolean fe)
public void mepComplete(Message message)
public boolean isClosed()
may be called. The invoker will become closed if during
a invocation of handlers, a handler throws a runtime exception that
is not a protocol exception and no futher handler or message
processing is possible.
public void adoptLogicalHandlers(HandlerChainInvoker invoker)
invoker
- the invoker encalsulting the alternate logical handler
chainprotected final void setFault(Exception ex)
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |