Class SampleHTTPExtension
java.lang.Object
oracle.communication.brm.charging.sdk.extensions.SampleHTTPExtension
- All Implemented Interfaces:
oracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
,HTTPExtension
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handlePostOCS
(HTTPPostOCSExtensionContext extensionContext) void
handlePostOCSBalanceQuery
(HTTPPostOCSBalanceQueryExtensionContext extensionContext) void
handlePreOCS
(HTTPPreOCSExtensionContext extensionContext) void
handleRequestReceived
(HTTPPreProcessorExtensionContext extensionContext) void
initialize
(ExtensionContext extensionContext) method is invoked once at ECS Node startup time to allow integrators a spot to populate private data members that are required by the extension callback.void
shutdown
(ExtensionContext extensionContext) method is invoked once at ECS Node shutdown time to allow integrators a spot to release any resources that were acquired by the Extension.
-
Field Details
-
HTTP_REDIRECT_INDICATION
public static final int HTTP_REDIRECT_INDICATION- See Also:
-
-
Constructor Details
-
SampleHTTPExtension
public SampleHTTPExtension()
-
-
Method Details
-
initialize
Description copied from interface:oracle.communication.brm.charging.extensions.framework.ExtensionCallback
method is invoked once at ECS Node startup time to allow integrators a spot to populate private data members that are required by the extension callback.- Specified by:
initialize
in interfaceoracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
- Specified by:
initialize
in interfaceHTTPExtension
- Parameters:
extensionContext
- the available context data for this callout.- Throws:
ExtensionException
- if a non-recoverable error occurs during handleRequestReceived.
-
handleRequestReceived
public void handleRequestReceived(HTTPPreProcessorExtensionContext extensionContext) throws ExtensionException - Specified by:
handleRequestReceived
in interfaceHTTPExtension
- Parameters:
extensionContext
- the available context data for this callout.- Throws:
ExtensionException
- if a non-recoverable error occurs during handleRequestReceived.
-
handlePreOCS
- Specified by:
handlePreOCS
in interfaceHTTPExtension
- Parameters:
extensionContext
- the available context data for this callout.- Throws:
ExtensionException
- if a non-recoverable error occurs during handleRequestReceived.
-
handlePostOCS
- Specified by:
handlePostOCS
in interfaceHTTPExtension
- Parameters:
extensionContext
- the available context data for this callout.- Throws:
ExtensionException
- if a non-recoverable error occurs during handleRequestReceived.
-
handlePostOCSBalanceQuery
public void handlePostOCSBalanceQuery(HTTPPostOCSBalanceQueryExtensionContext extensionContext) throws ExtensionException - Specified by:
handlePostOCSBalanceQuery
in interfaceHTTPExtension
- Parameters:
extensionContext
- the available context data for this callout.- Throws:
ExtensionException
- if a non-recoverable error occurs during handleRequestReceived.
-
shutdown
Description copied from interface:oracle.communication.brm.charging.extensions.framework.ExtensionCallback
method is invoked once at ECS Node shutdown time to allow integrators a spot to release any resources that were acquired by the Extension.- Specified by:
shutdown
in interfaceoracle.communication.brm.charging.extensions.framework.ExtensionCallback<ExtensionContext>
- Parameters:
extensionContext
- the context which exposes objects that are needed at shutdown time.- Throws:
ExtensionException
- if a non-recoverable error occurs during shutdown.
-