@NotThreadSafe
@Path(value="master/block")
@Produces(value="application/json")
@Deprecated
public final class BlockMasterClientRestServiceHandler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GET_BLOCK_INFO
Deprecated.
|
static java.lang.String |
SERVICE_NAME
Deprecated.
|
static java.lang.String |
SERVICE_PREFIX
Deprecated.
|
static java.lang.String |
SERVICE_VERSION
Deprecated.
|
| Constructor and Description |
|---|
BlockMasterClientRestServiceHandler(javax.servlet.ServletContext context)
Deprecated.
Constructs a new
BlockMasterClientRestServiceHandler. |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getBlockInfo(java.lang.Long blockId)
Deprecated.
|
javax.ws.rs.core.Response |
getServiceName()
Deprecated.
|
javax.ws.rs.core.Response |
getServiceVersion()
Deprecated.
|
public static final java.lang.String SERVICE_PREFIX
public static final java.lang.String SERVICE_NAME
public static final java.lang.String SERVICE_VERSION
public static final java.lang.String GET_BLOCK_INFO
public BlockMasterClientRestServiceHandler(@Context
javax.servlet.ServletContext context)
BlockMasterClientRestServiceHandler.context - context for the servlet@GET @Path(value="service_name") public javax.ws.rs.core.Response getServiceName()
@GET @Path(value="service_version") public javax.ws.rs.core.Response getServiceVersion()
@GET
@Path(value="block_info")
public javax.ws.rs.core.Response getBlockInfo(@QueryParam(value="blockId")
java.lang.Long blockId)
blockId - the block idCopyright © 2019. All Rights Reserved.