*
* @param errorMessage
* the message to display in case the value does not validate.
- * @deprecated As of 7.0. Use a Double converter on the field instead
- * and/or use a {@link DoubleRangeValidator} for validating that
- * the value is inside a given range.
+ * @deprecated As of 7.0. Use a Double converter on the field instead and/or
+ * use a {@link DoubleRangeValidator} for validating that the
+ * value is inside a given range.
*/
@Deprecated
public DoubleValidator(String errorMessage) {
*
* @author peholmst
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
public interface Callback extends Serializable {
/**
* @return
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected abstract BootstrapHandler createBootstrapHandler();
}
return true;
- } else if (requestPath.matches('/'
- + ApplicationConstants.APP_PATH + "(/.*)?")) {
+ } else if (requestPath.matches('/' + ApplicationConstants.APP_PATH
+ + "(/.*)?")) {
/*
* This should be the last request handler before we get to
* bootstrap logic. Prevent /APP requests from reaching bootstrap
// APP/global/[uiid]/[type]/[id]
private static final Matcher matcher = Pattern.compile(
- "^/?" + ApplicationConstants.APP_PATH + '/'
- + RESOURCE_REQUEST_PATH + "(\\d+)/(([^/]+)(/.*))").matcher(
- "");
+ "^/?" + ApplicationConstants.APP_PATH + '/' + RESOURCE_REQUEST_PATH
+ + "(\\d+)/(([^/]+)(/.*))").matcher("");
@Override
public boolean handleRequest(VaadinSession session, VaadinRequest request,
}
public static boolean isUIDLRequest(VaadinRequest request) {
- return hasPathPrefix(request,
- ApplicationConstants.UIDL_PATH + '/');
+ return hasPathPrefix(request, ApplicationConstants.UIDL_PATH + '/');
}
public static boolean isAppRequest(VaadinRequest request) {
- return hasPathPrefix(request,
- ApplicationConstants.APP_PATH + '/');
+ return hasPathPrefix(request, ApplicationConstants.APP_PATH + '/');
}
public static boolean isHeartbeatRequest(VaadinRequest request) {
- return hasPathPrefix(request,
- ApplicationConstants.HEARTBEAT_PATH + '/');
+ return hasPathPrefix(request, ApplicationConstants.HEARTBEAT_PATH + '/');
}
public static void initDefaultUIProvider(VaadinSession session,
* the streaming ended before the end of the input. The streaming may fail
* due an interruption by {@link } or due an other unknown exception in
* communication. In the latter case the exception is also passed to
- * {@link VaadinSession#error(com.vaadin.server.Terminal.ErrorEvent)}
- * .
+ * {@link VaadinSession#error(com.vaadin.server.Terminal.ErrorEvent)} .
*/
public interface StreamingErrorEvent extends StreamingEvent {
public class VaadinPortlet extends GenericPortlet implements Constants {
/**
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
public static final String RESOURCE_URL_ID = "APP";
* This portlet parameter is used to add styles to the main element. E.g
* "height:500px" generates a style="height:500px" to the main element.
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
public static final String PORTLET_PARAMETER_STYLE = "style";
* This portal parameter is used to define the name of the Vaadin theme that
* is used for all Vaadin applications in the portal.
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
public static final String PORTAL_PARAMETER_VAADIN_THEME = "vaadin.theme";
/**
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
public static final String WRITE_AJAX_PAGE_SCRIPT_WIDGETSET_SHOULD_WRITE = "writeAjaxPageScriptWidgetsetShouldWrite";
/**
* @author Vaadin Ltd
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected enum RequestType {
* @param vaadinRequest
* @return
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected RequestType getRequestType(VaadinPortletRequest vaadinRequest) {
* @throws PortletException
* @throws IOException
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected void handleRequest(PortletRequest request,
* @throws IOException
* if the writing failed due to input/output error.
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
void criticalNotification(VaadinPortletRequest request,
* the request to get a request type for
* @return the request type
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected RequestType getRequestType(VaadinRequest request) {
* the request to get a request type for
* @return the request type
*
- * @deprecated As of 7.0. Will likely change or be removed in a future version
+ * @deprecated As of 7.0. Will likely change or be removed in a future
+ * version
*/
@Deprecated
protected RequestType getRequestType(VaadinRequest request) {