@Path(value="/logs") public class LogResource extends Object
Constructor and Description |
---|
LogResource() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getLogs(String logSegregrationStr)
Get logs corresponding to logSegregrationStr
|
String |
getMessage()
Tells whether log resource if up or not
|
@GET @Produces(value="text/plain") public String getMessage()
@GET @Path(value="/{logSegregrationStr}") @Produces(value="application/octet-stream") public javax.ws.rs.core.Response getLogs(@PathParam(value="logSegregrationStr") String logSegregrationStr)
logSegregrationStr
- log segregation string - can be request id for all requests; query handle for queriesCopyright © 2014–2018 Apache Software Foundation. All rights reserved.