Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
CNResourceHandler.java 71.3 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 64 KB 10054 over 7 years Jing Tao Add a smart test when we set the file name for ...
MNRestServlet.java 1.65 KB 8810 over 9 years ben leinfelder add support for v2 DataONE API.

Latest revisions

# Date Author Comment
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.

10050 11/28/2016 10:28 AM Jing Tao

To set the content-deposition header, the cn will look the file name in the system metadata first.

10007 10/05/2016 05:33 PM Jing Tao

Check if the object and sysmeta are null before to get the inputstream object.

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.

9819 06/13/2016 12:00 PM Jing Tao

Add the check objectFormat is not null before we try to get the mediaType object from the object in the getObject method.

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.

View revisions

Also available in: Atom