]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.document.server/src/org/simantics/document/server/serverResponse/Context.java
Do not override jersey in p2.site pom.xml as release/1.43.0 is jdk8
[simantics/platform.git] / bundles / org.simantics.document.server / src / org / simantics / document / server / serverResponse / Context.java
1 package org.simantics.document.server.serverResponse;
2
3
4 public class Context extends ServerResponse {
5
6     public Context(String message) {
7         super(205, message, null);
8     }
9     
10     public String getContext() {
11         return super.getMessage();
12     }
13
14     @Override
15     public String getMessage() {
16         if(super.getMessage() != null)
17             return "input=" + super.getMessage();
18         else
19             return null;
20     }
21
22 }