From 06cf27605579abab9d18615d1fef701b941e06f6 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Mon, 27 Jun 2016 16:04:53 +0200 Subject: added JSON API, added keep signed data flag for configuration --- .../egiz/pdfas/web/helper/JSONStartResponse.java | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/JSONStartResponse.java (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/JSONStartResponse.java') diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/JSONStartResponse.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/JSONStartResponse.java new file mode 100644 index 00000000..98c59981 --- /dev/null +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/JSONStartResponse.java @@ -0,0 +1,59 @@ +package at.gv.egiz.pdfas.web.helper; + +import at.gv.egiz.sl.util.SLMarschaller; + +/** + * Created by Andreas Fitzek on 6/23/16. + */ +public class JSONStartResponse { + + String url; + String slRequest; + String template; + String locale; + String bkuURL; + + public JSONStartResponse(String url, String slRequest, String template, String locale, String bkuURL) { + this.url = url; + this.slRequest = slRequest; + this.template = template; + this.bkuURL = bkuURL; + this.locale = locale; + } + + public String getBkuURL() { + return bkuURL; + } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } + + public String getLocale() { + return locale; + } + + public void setLocale(String locale) { + this.locale = locale; + } + + public String getTemplate() { + return template; + } + + public void setTemplate(String template) { + this.template = template; + } + + public String getSlRequest() { + return slRequest; + } + + public void setSlRequest(String slRequest) { + this.slRequest = slRequest; + } +} -- cgit v1.2.3