Class JerseyResource
java.lang.Object
org.apache.hadoop.hbase.http.resource.JerseyResource
A simple Jersey resource class TestHttpServer. The servlet simply puts the path and the op
parameter in a map and return it in JSON format in the response.
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
LOG
-
PATH
- See Also:
-
OP
- See Also:
-
-
Constructor Details
-
JerseyResource
public JerseyResource()
-
-
Method Details
-
get
@GET @Path("{path:.*}") @Produces("application/json") public org.apache.hbase.thirdparty.javax.ws.rs.core.Response get(@PathParam("path") @DefaultValue("UNKNOWN_path") String path, @QueryParam("op") @DefaultValue("UNKNOWN_op") String op) throws IOException - Throws:
IOException
-