Interface IResource

All Superinterfaces:
IClusterable, Serializable
All Known Subinterfaces:
IStaticCacheableResource
All Known Implementing Classes:
AbstractResource, BaseDataResource, BlobImageResource, BufferedDynamicImageResource, ByteArrayResource, CharSequenceResource, ConcatBundleResource, ContextRelativeResource, CssPackageResource, DefaultButtonImageResource, DynamicImageResource, FileSystemResource, JavaScriptPackageResource, PackageResource, RenderedDynamicImageResource, ResourceStreamResource
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Resource is an object capable of writing output to response.
Author:
Matej Knopp
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Attributes that are provided to resource in the respond(Attributes) method.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Renders this resource to response using the provided attributes.
  • Method Details

    • respond

      void respond(IResource.Attributes attributes)
      Renders this resource to response using the provided attributes.
      Parameters:
      attributes -