Package | Description |
---|---|
org.jaxrx |
This is the main package for the JAX-RX interface.
|
org.jaxrx.core |
This package contains constants for the JAX-RX interface.
|
org.jaxrx.dom |
This package contains an exemplary DOM implementation for the JAX-RX interface.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Set<QueryParameter> |
JaxRx.getParameters()
This method returns all query parameters which are supported by the
implementation.
|
Modifier and Type | Method and Description |
---|---|
static QueryParameter |
QueryParameter.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryParameter[] |
QueryParameter.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Map<QueryParameter,String> |
ResourcePath.getQueryParameter()
This map return all available query parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
ResourcePath.getValue(QueryParameter key)
Returns the value of the specified query parameter, or
null if no
value is mapped. |
Constructor and Description |
---|
ResourcePath(String resourcePath,
Map<QueryParameter,String> queryParameters)
Constructs a new
ResourcePath with an additional
QueryParameter map. |
ResourcePath(String resourcePath,
Map<QueryParameter,String> queryParameters,
javax.ws.rs.core.HttpHeaders httpHeaders)
Constructs a new
ResourcePath with an additional
QueryParameter map. |
Modifier and Type | Method and Description |
---|---|
Set<QueryParameter> |
DOMJaxRx.getParameters() |
Modifier and Type | Method and Description |
---|---|
Set<QueryParameter> |
TreeTankMediator.getParameters() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.StreamingOutput |
NodeIdRepresentation.getResource(String resourceName,
long nodeId,
Map<QueryParameter,String> queryParams)
This method is responsible to deliver the whole XML resource addressed by
a unique node id.
|
javax.ws.rs.core.StreamingOutput |
DatabaseRepresentation.getResource(String resourceName,
Map<QueryParameter,String> queryParams)
This method is responsible to deliver the whole database.
|
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.
|
javax.ws.rs.core.StreamingOutput |
NodeIdRepresentation.performQueryOnResource(String resourceName,
long nodeId,
String query,
Map<QueryParameter,String> queryParams)
This method is responsible to perform a XPath query expression on the XML
resource which is addressed through a unique node id.
|
javax.ws.rs.core.StreamingOutput |
DatabaseRepresentation.performQueryOnResource(String resource,
String query,
Map<QueryParameter,String> otherParams)
This method is responsible to perform queries on a special database.
|
Copyright © 2013. All Rights Reserved.