Class DefaultHandler
java.lang.Object
i5.las2peer.connectors.webConnector.handler.DefaultHandler
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
checkEth()
javax.ws.rs.core.Response
getCurrentAgentId
(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders) getCurrentAgentJson
(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders) getCurrentAgentXml
(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders) getNodeStatus
(javax.ws.rs.core.UriInfo uriInfo) javax.ws.rs.core.Response
rootPath()
-
Field Details
-
ROOT_RESOURCE_PATH
- See Also:
-
-
Constructor Details
-
DefaultHandler
-
-
Method Details
-
checkEth
@GET @Path("/check-eth") @Produces("application/json") public javax.ws.rs.core.Response checkEth() throws javax.ws.rs.NotFoundException- Throws:
javax.ws.rs.NotFoundException
-
rootPath
- Throws:
URISyntaxException
-
getCoreVersion
-
getCACert
- Throws:
IOException
-
getNodeStatus
@GET @Path("/status") @Produces("application/json") public String getNodeStatus(@Context javax.ws.rs.core.UriInfo uriInfo) -
handleGetOtherNodeInfo
@GET @Path("/getOtherNodesInfo") @Produces("application/json") public String handleGetOtherNodeInfo() -
getCurrentAgentId
@GET @Produces("text/plain") @Path("/currentagent") public String getCurrentAgentId(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders) -
getCurrentAgentJson
@GET @Produces("application/json") @Path("/currentagent") public String getCurrentAgentJson(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders) -
getCurrentAgentXml
@GET @Produces("application/xml") @Path("/currentagent") public String getCurrentAgentXml(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.HttpHeaders httpHeaders)
-