站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

WSRPExtensionHandler - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.wsrp.handler
Class WSRPExtensionHandler

java.lang.Object
  extended byjavax.xml.rpc.handler.GenericHandler
      extended byorg.jboss.portal.wsrp.handler.WSRPExtensionHandler
All Implemented Interfaces:
javax.xml.rpc.handler.Handler

public class WSRPExtensionHandler
extends javax.xml.rpc.handler.GenericHandler

JAX-RPC Handler that strips the SOAP Message of any WSRP extensions. Right now, only operates on response messages.

Since:
2.4 (Apr 26, 2006)
Version:
$Revision: 5440 $
Author:
Anil Saldhana, Chris Laprun

Field Summary
private  boolean debug
           
private static java.lang.String EXTENSIONS
           
private static org.jboss.logging.Logger log
           
private  boolean removeExtensions
           
 
Constructor Summary
WSRPExtensionHandler()
           
 
Method Summary
 javax.xml.namespace.QName[] getHeaders()
           
 boolean handleRequest(javax.xml.rpc.handler.MessageContext messageContext)
           
 boolean handleResponse(javax.xml.rpc.handler.MessageContext messageContext)
           
 void init(javax.xml.rpc.handler.HandlerInfo info)
           
private  void removeChildrenOf(org.w3c.dom.Element element)
           
private  void removeExtensions(javax.xml.rpc.handler.MessageContext msgContext)
           
 
Methods inherited from class javax.xml.rpc.handler.GenericHandler
destroy, handleFault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.jboss.logging.Logger log

debug

private boolean debug

removeExtensions

private boolean removeExtensions

EXTENSIONS

private static final java.lang.String EXTENSIONS
See Also:
Constant Field Values
Constructor Detail

WSRPExtensionHandler

public WSRPExtensionHandler()
Method Detail

init

public void init(javax.xml.rpc.handler.HandlerInfo info)

getHeaders

public javax.xml.namespace.QName[] getHeaders()

handleResponse

public boolean handleResponse(javax.xml.rpc.handler.MessageContext messageContext)

handleRequest

public boolean handleRequest(javax.xml.rpc.handler.MessageContext messageContext)

removeExtensions

private void removeExtensions(javax.xml.rpc.handler.MessageContext msgContext)

removeChildrenOf

private void removeChildrenOf(org.w3c.dom.Element element)