SubscriptionCancelServlet

public abstract class SubscriptionCancelServlet<T extends Message> extends MessageServlet<I, O>

An abstract servlet for a client request to cancel an existing Subscription.

This servlet parses the client requests and passes it to the SubscriptionBridge to process. After, a processing result is written to the servlet response.

Parameters

<T>

type of the response message

Constructors

Link copied to clipboard
protected void SubscriptionCancelServlet(SubscriptionBridge<? extends Object, ? extends Object, T> bridge)
Creates a new instance of SubscriptionCancelServlet with the given SubscriptionBridge.

Functions

Link copied to clipboard
protected T handle(Subscription request)
Handles the servlet request and produces the response message.

Inherited functions

Link copied to clipboard
public void doPost(HttpServletRequest req, HttpServletResponse resp)