com.vaadin.server
Interface Resource

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ConnectorResource, FontIcon
All Known Implementing Classes:
ClassResource, ExternalResource, FileResource, FontAwesome, StreamResource, ThemeResource

public interface Resource
extends java.io.Serializable

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

Since:
3.0
Author:
Vaadin Ltd.

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

Method Detail

getMIMEType

java.lang.String getMIMEType()
Gets the MIME type of the resource.

Returns:
the MIME type of the resource.


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.