com.vaadin.server
Interface Resource

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
ConnectorResource
All Known Implementing Classes:
ClassResource, DynamicConnectorResource, ExternalResource, FileResource, 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-2011 Vaadin Ltd. All Rights Reserved.