if (request.getParameter("xml") != null) {
xml = new Boolean(request.getParameter("xml")).booleanValue();
}
try {
Context context =
ReadOnlyContext.getContext(HTTP_REQUEST.REST.uri, request);
listDatastreams(context, PID, asOfDateTime, xml, request, response);
logger.debug("Finished listing datastreams");
} catch (ObjectNotFoundException e) {
logger.error("Object not found for request: " + requestURI