Interface Resource

All Superinterfaces:
Serializable
All Known Implementing Classes:
ExternalResource, IconResource

public interface Resource extends Serializable
Resource provided to the client terminal. Support for actually displaying the resource type is left to the terminal.
Author:
Vaadin Ltd.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the MIME type of the resource.
  • Method Details

    • getMIMEType

      String getMIMEType()
      Gets the MIME type of the resource.
      Returns:
      the MIME type of the resource.