org.jboss.ws.api.handler
Class GenericHandler<C extends MessageContext>
- java.lang.Object
-
- org.jboss.ws.api.handler.GenericHandler<C>
-
- All Implemented Interfaces:
- Handler<C>
- Direct Known Subclasses:
- GenericLogicalHandler, GenericSOAPHandler
public abstract class GenericHandler<C extends MessageContext> extends Object implements Handler<C>
A generic JAX-WS handler- Since:
- 13-Aug-2006
- Author:
- Thomas Diesler, Alessio Soldano
-
-
Constructor Summary
Constructors Constructor and Description GenericHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
close(MessageContext messageContext)
String
getHandlerName()
boolean
handleFault(C messagecontext)
protected boolean
handleInbound(C msgContext)
boolean
handleMessage(C msgContext)
protected boolean
handleOutbound(C msgContext)
void
setHandlerName(String handlerName)
String
toString()
-
-
-
Method Detail
-
getHandlerName
public String getHandlerName()
-
setHandlerName
public void setHandlerName(String handlerName)
-
handleMessage
public boolean handleMessage(C msgContext)
- Specified by:
-
handleMessage
in interfaceHandler<C extends MessageContext>
-
handleOutbound
protected boolean handleOutbound(C msgContext)
-
handleInbound
protected boolean handleInbound(C msgContext)
-
handleFault
public boolean handleFault(C messagecontext)
- Specified by:
-
handleFault
in interfaceHandler<C extends MessageContext>
-
close
public void close(MessageContext messageContext)
- Specified by:
-
close
in interfaceHandler<C extends MessageContext>
-
-
Copyright © 2018 JBoss, by Red Hat. All rights reserved.