com.vaadin.terminal.


Interface Resource

All Superinterfaces:

Serializable

All Known Subinterfaces:

ApplicationResource

All Known Implementing Classes:

ClassResource, ExternalResource, FileResource, StreamResource, ThemeResource

public interface Resource
extends Serializable

Resource provided to the client terminal. Support for actually displaying the resource type is left to the terminal.

Since:

3.0

Version:

6.8.18

Author:

Vaadin Ltd.

Method Summary
 String getMIMEType()
          Gets the MIME type of the resource.
 

Method Detail

getMIMEType

String getMIMEType()

Gets the MIME type of the resource.

Returns:
the MIME type of the resource.