@Path(value="/v1/namespaces/{namespace}/topics/{topic}")
public final class StoreHandler
extends co.cask.http.AbstractHttpHandler
| Modifier and Type | Method and Description |
|---|---|
void |
publish(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
String namespace,
String topic) |
void |
rollback(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
String namespace,
String topic) |
void |
store(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
String namespace,
String topic) |
@POST
@Path(value="/publish")
public void publish(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic")
String topic)
throws Exception
Exception@POST
@Path(value="/store")
public void store(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
@PathParam(value="namespace")
String namespace,
@PathParam(value="topic")
String topic)
throws Exception
ExceptionCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.