| Package | Description |
|---|---|
| org.treetank.service.jaxrx.enums |
Enums for relative access types
Used to access relative nodes via URL e.g., for fist child of a resource:
http://localhost:8093/treetank/factbook/firstChild()
|
| org.treetank.service.jaxrx.implementation |
Resource implementation
This package contains classes which handles request for database resources and database subresources like
in our case: node id support.
|
| org.treetank.service.jaxrx.util |
Util classes
This package contains util classes for REST resources support.
|
| Modifier and Type | Method and Description |
|---|---|
static EIdAccessType |
EIdAccessType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EIdAccessType[] |
EIdAccessType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NodeIdRepresentation.addSubResource(String resourceName,
long nodeId,
InputStream input,
EIdAccessType type)
This method is responsible to perform a POST request to a node id.
|
javax.ws.rs.core.StreamingOutput |
NodeIdRepresentation.getResourceByAT(String resourceName,
long nodeId,
Map<QueryParameter,String> queryParams,
EIdAccessType accessType)
This method is responsible to deliver the whole XML resource addressed by
a unique node id.
|
| Modifier and Type | Method and Description |
|---|---|
EIdAccessType |
WorkerHelper.validateAccessType(String accessType)
This method checks the variable URL path after the node id resource (e.g.
|
Copyright © 2013. All Rights Reserved.