Skip to content
Snippets Groups Projects
Commit abd5e07e authored by Stefan E. Funk's avatar Stefan E. Funk
Browse files

Add identifier logging

parent 8e83dce7
No related branches found
No related tags found
No related merge requests found
...@@ -135,9 +135,18 @@ public class OAIPMHImpl implements OAIPMHProducer { ...@@ -135,9 +135,18 @@ public class OAIPMHImpl implements OAIPMHProducer {
String result = ""; String result = "";
System.out.println("Incoming ID (POST): " + identifier);
try { try {
result = getStringFromJAXBOAIElement(verb, result = getStringFromJAXBOAIElement(verb,
handleRequest(verb, identifier, metadataPrefix, set, from, until, resumptionToken)); handleRequest(
verb,
identifier,
metadataPrefix,
set,
from,
until,
resumptionToken));
} catch (ParseException | IOException e) { } catch (ParseException | IOException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
...@@ -158,6 +167,8 @@ public class OAIPMHImpl implements OAIPMHProducer { ...@@ -158,6 +167,8 @@ public class OAIPMHImpl implements OAIPMHProducer {
String result = ""; String result = "";
System.out.println("Incoming ID (GET): " + identifier);
try { try {
result = getStringFromJAXBOAIElement(verb, result = getStringFromJAXBOAIElement(verb,
handleRequest( handleRequest(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment