Interface ResourceHandler.Resource

All Superinterfaces:
AutoCloseable, Closeable
All Known Subinterfaces:
WritableResourceHandler.WritableResource
All Known Implementing Classes:
BufferedResource, BufferedWritableResource, PathWritableResource, UrlResource
Enclosing interface:
ResourceHandler

public static interface ResourceHandler.Resource extends Closeable
Handle of content.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Default close method is no-op, override if implementation requires.
    Returns the InputStream stream of the resource, if exists, null otherwise.