public class ZNodeResource extends Object
Constructor and Description |
---|
ZNodeResource(String session,
javax.ws.rs.core.UriInfo ui,
javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createZNode(String path,
String callback,
String op,
String name,
String dataformat,
String setNull,
String sequence,
String ephemeral,
javax.ws.rs.core.UriInfo ui,
byte[] data) |
javax.ws.rs.core.Response |
createZNodeAsOctet(String path,
String op,
String name,
String setNull,
String sequence,
javax.ws.rs.core.UriInfo ui,
byte[] data) |
void |
deleteZNode(String path,
String versionParam,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
existsZNode(String path,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
existsZNodeAsOctet(String path,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
getZNodeList(String path,
String callback,
String view,
String dataformat,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
getZNodeListAsOctet(String path) |
javax.ws.rs.core.Response |
getZNodeListJSON(String path,
String callback,
String view,
String dataformat,
javax.ws.rs.core.UriInfo ui) |
javax.ws.rs.core.Response |
setZNode(String path,
String callback,
String versionParam,
String dataformat,
String setNull,
javax.ws.rs.core.UriInfo ui,
byte[] data) |
void |
setZNodeAsOctet(String path,
String versionParam,
String setNull,
javax.ws.rs.core.UriInfo ui,
byte[] data) |
public ZNodeResource(String session, @Context javax.ws.rs.core.UriInfo ui, @Context javax.servlet.http.HttpServletRequest request) throws IOException
IOException
public javax.ws.rs.core.Response existsZNode(String path, @Context javax.ws.rs.core.UriInfo ui) throws InterruptedException, KeeperException
InterruptedException
KeeperException
public javax.ws.rs.core.Response existsZNodeAsOctet(String path, @Context javax.ws.rs.core.UriInfo ui) throws InterruptedException, KeeperException
InterruptedException
KeeperException
public javax.ws.rs.core.Response getZNodeListJSON(String path, String callback, String view, String dataformat, @Context javax.ws.rs.core.UriInfo ui) throws InterruptedException, KeeperException
InterruptedException
KeeperException
public javax.ws.rs.core.Response getZNodeList(String path, String callback, String view, String dataformat, @Context javax.ws.rs.core.UriInfo ui) throws InterruptedException, KeeperException
InterruptedException
KeeperException
public javax.ws.rs.core.Response getZNodeListAsOctet(String path) throws InterruptedException, KeeperException
InterruptedException
KeeperException
public javax.ws.rs.core.Response setZNode(String path, String callback, String versionParam, String dataformat, String setNull, @Context javax.ws.rs.core.UriInfo ui, byte[] data) throws InterruptedException, KeeperException
InterruptedException
KeeperException
public void setZNodeAsOctet(String path, String versionParam, String setNull, @Context javax.ws.rs.core.UriInfo ui, byte[] data) throws InterruptedException, KeeperException
InterruptedException
KeeperException
public javax.ws.rs.core.Response createZNode(String path, String callback, String op, String name, String dataformat, String setNull, String sequence, String ephemeral, @Context javax.ws.rs.core.UriInfo ui, byte[] data) throws InterruptedException, KeeperException
InterruptedException
KeeperException
public javax.ws.rs.core.Response createZNodeAsOctet(String path, String op, String name, String setNull, String sequence, @Context javax.ws.rs.core.UriInfo ui, byte[] data) throws InterruptedException, KeeperException
InterruptedException
KeeperException
public void deleteZNode(String path, String versionParam, @Context javax.ws.rs.core.UriInfo ui) throws InterruptedException, KeeperException
InterruptedException
KeeperException
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.