/** 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();
}