@NotThreadSafe @Path(value="master/block") @Produces(value="application/json") @Deprecated public final class BlockMasterClientRestServiceHandler extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GET_BLOCK_INFO
Deprecated.
|
static String |
SERVICE_NAME
Deprecated.
|
static String |
SERVICE_PREFIX
Deprecated.
|
static 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(Long blockId)
Deprecated.
|
javax.ws.rs.core.Response |
getServiceName()
Deprecated.
|
javax.ws.rs.core.Response |
getServiceVersion()
Deprecated.
|
public static final String SERVICE_PREFIX
public static final String SERVICE_NAME
public static final String SERVICE_VERSION
public static final 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") Long blockId)
blockId
- the block idCopyright © 2023. All Rights Reserved.