Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
CNResourceHandler.java 63.6 KB 10054 over 7 years Jing Tao Add a smart test when we set the file name for ...
CNRestServlet.java 1.65 KB 8810 over 9 years ben leinfelder add support for v2 DataONE API.
MNResourceHandler.java 56.4 KB 10098 over 7 years Jing Tao Add the version information in a log statement.
MNRestServlet.java 1.65 KB 8810 over 9 years ben leinfelder add support for v2 DataONE API.

Latest revisions

# Date Author Comment
10098 12/06/2016 04:36 PM Jing Tao

Add the version information in a log statement.

10054 11/28/2016 11:40 AM Jing Tao

Add a smart test when we set the file name for the header of "content-deposition":
When the id doesn't end with the file extention, we set the file to be id+extension.

9880 08/11/2016 11:24 AM Jing Tao

Added the double quotes on the file name of the http header "content-deposition". This can handle the special characters on the file name.
https://projects.ecoinformatics.org/ecoinfo/issues/7084

9833 07/06/2016 04:52 PM Jing Tao

Replaced the JiBXException by MarshallingException.

9815 06/06/2016 04:51 PM Jing Tao

Don't need to add "." for file name between the identifier and file extention in the getObject method.
The v1 getExtension method includes '.'. But the v2 version doesn't include it.

9673 04/21/2016 08:21 AM Chris Jones

Merge the changes from the 2.6 branch into the trunk, fixing filename construction.

refs https://github.nceas.ucsb.edu/KNB/arctic-data/issues/151

9481 01/05/2016 02:06 PM Jing Tao

Use the ServiceFailure to replace the InvalidRequest when it is the read-only mode (CN throws the exception).

9480 01/05/2016 09:42 AM Jing Tao

In the replicate method, the checking of the read-only mode was moved from MNodeService class to the MNResourceHandler class since it is asynchronized.

9479 01/04/2016 05:23 PM Jing Tao

The systemmetadataChanged method is asynchronized, so we put the read-only checking on the ResourceHandler class.

9333 09/24/2015 01:59 PM ben leinfelder

use request query string first when handling MN.query() method. https://redmine.dataone.org/issues/7384

View revisions

Also available in: Atom