Changeset 1029 for MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/GenericProxyAction.java
- Timestamp:
- 01/02/11 19:30:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/GenericProxyAction.java
r980 r1029 56 56 private int maxdepth; 57 57 private String format; 58 private String options; 58 59 private String actionContentType; 59 60 private String userMsg; … … 142 143 } 143 144 145 public String getOptions() { 146 return options; 147 } 148 149 public void setOptions(String options) { 150 this.options = options; 151 } 152 144 153 public String getActionContentType() { 145 if (format.toLowerCase().equals("xml")) { 154 if (format.toLowerCase().startsWith("html")) { 155 this.actionContentType = "text/html"; 156 } else { 146 157 this.actionContentType = "text/xml"; 147 } else {148 this.actionContentType = "text/html";149 158 } 150 159
Note: See TracChangeset
for help on using the changeset viewer.