Example usage for com.vaadin.server ServletPortletHelper isHeartbeatRequest

List of usage examples for com.vaadin.server ServletPortletHelper isHeartbeatRequest

Introduction

In this page you can find the example usage for com.vaadin.server ServletPortletHelper isHeartbeatRequest.

Prototype

public static boolean isHeartbeatRequest(VaadinRequest request) 

Source Link

Usage

From source file:com.github.mcollovati.vertx.vaadin.VertxVaadinService.java

License:Open Source License

private boolean isOtherRequest(VaadinRequest request) {
    // TODO This should be refactored in some way. It should not be
    // necessary to check all these types.
    return (!ServletPortletHelper.isAppRequest(request) && !ServletUIInitHandler.isUIInitRequest(request)
            && !ServletPortletHelper.isFileUploadRequest(request)
            && !ServletPortletHelper.isHeartbeatRequest(request)
            && !ServletPortletHelper.isPublishedFileRequest(request)
            && !ServletPortletHelper.isUIDLRequest(request) && !ServletPortletHelper.isPushRequest(request));
}