Example usage for com.vaadin.server ServletPortletHelper isFileUploadRequest

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

Introduction

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

Prototype

public static boolean isFileUploadRequest(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));
}