Adapt to changes in Argeo TP
[lgpl/argeo-commons.git] / swt / rap / org.argeo.swt.specific.rap / src / org / argeo / eclipse / ui / specific / UiContext.java
index 72e17a22d7ea73f197cfd1be56d6af930e8567b0..a81d94d1190d4009912c413d2765f2b26bb54813 100644 (file)
@@ -11,10 +11,12 @@ import org.eclipse.swt.widgets.Display;
 /** Singleton class providing single sources infos about the UI context. */
 public class UiContext {
        /** Can be null, thus indicating that we are not in a web context. */
+       @Deprecated
        public static HttpServletRequest getHttpRequest() {
                return RWT.getRequest();
        }
 
+       @Deprecated
        public static HttpServletResponse getHttpResponse() {
                return RWT.getResponse();
        }