com.vaadin.server.Resource Maven / Gradle / Ivy
/*
* Copyright (C) 2000-2024 Vaadin Ltd
*
* This program is available under Vaadin Commercial License and Service Terms.
*
* See for the full
* license.
*/
package com.vaadin.server;
import java.io.Serializable;
/**
* Resource
provided to the client terminal. Support for actually
* displaying the resource type is left to the terminal.
*
* @author Vaadin Ltd.
* @since 3.0
*/
public interface Resource extends Serializable {
/**
* Gets the MIME type of the resource.
*
* @return the MIME type of the resource.
*/
public String getMIMEType();
}