public interface ExtensionHandler
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys this extension handler.
|
void |
doHandle(ExtensionHandlerRequest request,
ExtensionHandlerResponse response,
ExtensionChain chain)
Performs processing using this extension handler by handling an
extension element attached to an RRD request.
|
ExtensionHandlerConfig |
getExtensionHandlerConfig()
Retrieves the extension handler configuration information associated
with this extension handler.
|
void |
init(ExtensionHandlerConfig config)
Initializes this extension handler.
|
ExtensionHandlerConfig getExtensionHandlerConfig()
void init(ExtensionHandlerConfig config) throws RRDException
config
- an ExtensionConfig object containing configuration
information for this extension handler.RRDException
- if an error occurs during initialization.void doHandle(ExtensionHandlerRequest request, ExtensionHandlerResponse response, ExtensionChain chain) throws RRDException, java.io.IOException
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.RRDException
- if an error occurs during extension handling.java.io.IOException
- if an IOException occurs during extension handling.void destroy()