@Path(value="/drpc/") public class DRPCResource extends Object
Constructor and Description |
---|
DRPCResource(DRPC drpc,
StormMetricsRegistry metricsRegistry) |
Modifier and Type | Method and Description |
---|---|
String |
get(String func,
javax.servlet.http.HttpServletRequest request) |
String |
get(String func,
String args,
javax.servlet.http.HttpServletRequest request) |
String |
post(String func,
String args,
javax.servlet.http.HttpServletRequest request) |
public DRPCResource(DRPC drpc, StormMetricsRegistry metricsRegistry)
@POST @Path(value="/{func}") public String post(@PathParam(value="func") String func, String args, @Context javax.servlet.http.HttpServletRequest request) throws Exception
Exception
@GET @Path(value="/{func}/{args}") public String get(@PathParam(value="func") String func, @PathParam(value="args") String args, @Context javax.servlet.http.HttpServletRequest request) throws Exception
Exception
Copyright © 2022 The Apache Software Foundation. All rights reserved.