com.ibm.wsspi.rrd.extension.handler

Interface ExtensionHandler

All known implementing classes:
GenericExtensionHandler

  1. public interface ExtensionHandler
The ExtensionHandler interface represents an RRD extension handler, which is used to handle extension data that is received in an RRD request.
Since:
WAS6.1

Method Summary

Modifier and Type Method and Description
  1. void
destroy()
Destroys this extension handler.
  1. void
doHandle(ExtensionHandlerRequest request,ExtensionHandlerResponse response,ExtensionChain chain)
Performs processing using this extension handler by handling an extension element attached to an RRD request.
  1. ExtensionHandlerConfig
getExtensionHandlerConfig()
Retrieves the extension handler configuration information associated with this extension handler.
  1. void
init(ExtensionHandlerConfig config)
Initializes this extension handler.

Method Detail

getExtensionHandlerConfig

  1. ExtensionHandlerConfig getExtensionHandlerConfig( )
Retrieves the extension handler configuration information associated with this extension handler.
Returns:
an ExtensionHandlerConfig object containing the extension handler configuration information associated with this extension handler.

init

  1. void init(ExtensionHandlerConfig config)
  2. throws RRDException
Initializes this extension handler.
Parameters:
config - an ExtensionConfig object containing configuration information for this extension handler.
Throws:
RRDException - if an error occurs during initialization.

doHandle

  1. void doHandle(ExtensionHandlerRequest request,
  2. ExtensionHandlerResponse response,
  3. ExtensionChain chain)
  4. throws RRDException
  5. java.io.IOException
Performs processing using this extension handler by handling an extension element attached to an RRD request.
Parameters:
request - an ExtensionHandlerRequest object containing request information for this extension handler.
response - an ExtensionHandlerResponse object that is used by this extension handler to provide response information.
chain - an ExtensionChain object used to invoke the next extension handler in the chain.
Throws:
RRDException - if an error occurs during extension handling.
java.io.IOException - if an IOException occurs during extension handling.

destroy

  1. void destroy()
Destroys this extension handler.