Class StreamableFileNameResource


public final class StreamableFileNameResource extends StreamableResource
Streams, on demand, the contents of a file identified by a full file name, including path.
  • Constructor Details

    • StreamableFileNameResource

      public StreamableFileNameResource(String fileName)
      Constructs an instance that streams the resource identified by name on demand.
      fileName - full file name, including path, of the resource to be streamed on demand, not null
  • Method Details