Interface MessagingHandler
public interface MessagingHandler
Interface for MessagingHandler.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy(ConnectionId connectionId) Triggered to release and dispose any sort of resources hold against a particular message flow.voidhandleError(ConnectionId connectionId) Handle Error.handleRequest(org.apache.axis2.context.MessageContext axis2MessageContext) Handle request.
-
Method Details
-
handleRequest
Handle request.- Parameters:
axis2MessageContext- axis2 message context.
-
handleError
Handle Error. This method is invoked whenever an exception occurs in the request flow so that the implementations can clear any in-memory resources.- Parameters:
connectionId- Identifier of the connection.
-
destroy
Triggered to release and dispose any sort of resources hold against a particular message flow. For example, if a WebSocket connection is terminated, this method can be used to notify the handler about this event.- Parameters:
connectionId- Identifier of the connection.
-