comparison src/main/java/de/mpiwg/gazetteer/rest/TextServlet.java @ 58:b8ad346e39a0

new: modify based on doc 'Improving LGServices interface.docx': user workflow improvement, functions like adding task into a topic and search suggestions.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 02 May 2016 12:03:30 +0200
parents 37840afb7b80
children
comparison
equal deleted inserted replaced
57:5cbe567a9c52 58:b8ad346e39a0
65 GetTable4File.execute(request, response); 65 GetTable4File.execute(request, response);
66 }else if(StringUtils.equals(GetTabDelimited4File.name, method)){ 66 }else if(StringUtils.equals(GetTabDelimited4File.name, method)){
67 GetTabDelimited4File.execute(request, response); 67 GetTabDelimited4File.execute(request, response);
68 }else if(StringUtils.equals(GetFullTextSearchHtmlFile.name, method)){ 68 }else if(StringUtils.equals(GetFullTextSearchHtmlFile.name, method)){
69 GetFullTextSearchHtmlFile.execute(request, response); 69 GetFullTextSearchHtmlFile.execute(request, response);
70
71 // for download
72 }else if (StringUtils.equals(DownloadFileText.name, method)) {
73 DownloadFileText.execute(request, response);
74 }else if (StringUtils.equals(DownloadTabDelimited4File.name, method)) {
75 DownloadTabDelimited4File.execute(request, response);
76 }else if (StringUtils.equals(DownloadFullTextSearchCsvFile.name, method)) {
77 DownloadFullTextSearchCsvFile.execute(request, response);
78
79
70 }else{ 80 }else{
71 writeError(response, "Content-type wrong. It should be: multipart/form-data"); 81 writeError(response, "Content-type wrong. It should be: multipart/form-data");
72 } 82 }
73 } 83 }
74 84