| Constructor and Description |
|---|
DOMJaxRx() |
| Modifier and Type | Method and Description |
|---|---|
String |
add(InputStream input,
ResourcePath path)
This method is called by the POST method.
|
javax.ws.rs.core.StreamingOutput |
command(String command,
ResourcePath path)
This method is called by the GET and the POST method, if
QueryParameter.COMMAND was specified
in the HTTP request. |
String |
delete(ResourcePath path)
This method is called by the DELETE method.
|
javax.ws.rs.core.StreamingOutput |
get(ResourcePath path)
This method is called by the GET and the POST method.
|
Set<QueryParameter> |
getParameters()
This method returns all query parameters which are supported by the
implementation.
|
javax.ws.rs.core.StreamingOutput |
query(String query,
ResourcePath path)
This method is called by the GET and the POST method, if
QueryParameter.QUERY was specified in
the HTTP request. |
javax.ws.rs.core.StreamingOutput |
run(String file,
ResourcePath path)
This method is called by the GET and the POST method, if
QueryParameter.RUN was specified in
the HTTP request. |
String |
update(InputStream input,
ResourcePath path)
This method is called by the PUT method.
|
public Set<QueryParameter> getParameters()
JaxRxgetParameters in interface JaxRxSet containing the allowed parameters specified in QueryParameter.public javax.ws.rs.core.StreamingOutput get(ResourcePath path)
JaxRxpublic javax.ws.rs.core.StreamingOutput query(String query, ResourcePath path)
JaxRxQueryParameter.QUERY was specified in
the HTTP request. This
method performs a query, based on the given resource path.public javax.ws.rs.core.StreamingOutput run(String file, ResourcePath path)
JaxRxQueryParameter.RUN was specified in
the HTTP request. This method
runs a server-side query file, based on the given resource path.public javax.ws.rs.core.StreamingOutput command(String command, ResourcePath path)
JaxRxQueryParameter.COMMAND was specified
in the HTTP request. This
method performs a database command, based on the given resource path.public String add(InputStream input, ResourcePath path)
JaxRxpublic String update(InputStream input, ResourcePath path)
JaxRxupdate in interface JaxRxinput - The incoming InputStream.path - Resource and parameter infopublic String delete(ResourcePath path)
JaxRxCopyright © 2013. All Rights Reserved.