@Path(value="/v1/namespaces/{namespace}")
public final class MetadataHandler
extends co.cask.http.AbstractHttpHandler
| Modifier and Type | Method and Description |
|---|---|
void |
createTopic(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
String namespace,
String topic) |
void |
deleteTopic(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
String namespace,
String topic) |
void |
getTopic(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
String namespace,
String topic) |
void |
listTopics(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
String namespace) |
void |
updateTopic(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
String namespace,
String topic) |
@PUT
@Path(value="/topics/{topic}")
public void createTopic(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@PUT
@Path(value="/topics/{topic}/properties")
public void updateTopic(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@GET
@Path(value="/topics/{topic}")
public void getTopic(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@GET
@Path(value="/topics")
public void listTopics(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
@PathParam(value="namespace")
String namespace)
throws Exception
ExceptionCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.