Package com.vaadin.server
Interface Resource
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ConnectorResource
,FontIcon
- All Known Implementing Classes:
ClassResource
,ExternalResource
,FileResource
,FontAwesome
,GenericFontIcon
,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
- Author:
- Vaadin Ltd.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-