In package com.eden.orchid.api.resources.resource

public class ResourceTransformation extends ResourceWrapper

public

A Resource type that wraps another resource, optionally applying a transformation along the way.

Constructors

ResourceTransformation(OrchidResource resource, Function<T, R> contentTransformations) public

Parameters:
ResourceTransformation(OrchidResource resource, List<E> contentTransformations, List<E> contentStreamTransformations) public

Parameters:
  • OrchidResource resource
  • List contentTransformations
  • List contentStreamTransformations

Methods

String getContent() public
Method Annotations:
@Override

InputStream getContentStream() public
Method Annotations:
@Override