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()
JaxRx
getParameters
in interface JaxRx
Set
containing the allowed parameters specified in
QueryParameter
.public javax.ws.rs.core.StreamingOutput get(ResourcePath path)
JaxRx
public javax.ws.rs.core.StreamingOutput query(String query, ResourcePath path)
JaxRx
QueryParameter.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)
JaxRx
QueryParameter.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)
JaxRx
QueryParameter.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)
JaxRx
public String update(InputStream input, ResourcePath path)
JaxRx
update
in interface JaxRx
input
- The incoming InputStream
.path
- Resource and parameter infopublic String delete(ResourcePath path)
JaxRx
Copyright © 2013. All Rights Reserved.