T
- type of the response messagepublic abstract class SubscriptionCancelServlet<T extends com.google.protobuf.Message> extends MessageServlet<io.spine.client.Subscription,T>
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.
Modifier | Constructor and Description |
---|---|
protected |
SubscriptionCancelServlet(SubscriptionBridge<?,?,T> bridge)
Creates a new instance of
SubscriptionCancelServlet with the given
SubscriptionBridge . |
Modifier and Type | Method and Description |
---|---|
protected T |
handle(io.spine.client.Subscription request)
Handles the servlet request and produces the response message.
|
doPost
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected SubscriptionCancelServlet(SubscriptionBridge<?,?,T> bridge)
SubscriptionCancelServlet
with the given
SubscriptionBridge
.bridge
- the subscription bridge to be used in to cancel the subscriptionprotected T handle(io.spine.client.Subscription request)
MessageServlet
handle
in class MessageServlet<io.spine.client.Subscription,T extends com.google.protobuf.Message>
request
- the request message