createStream method

  1. @protected
ImageStream createStream(
  1. ImageConfiguration configuration
)

Called by resolve to create the ImageStream it returns.

Subclasses should override this instead of resolve if they need to return some subclass of ImageStream. The stream created here will be passed to resolveStreamForKey.

Implementation

@protected
ImageStream createStream(ImageConfiguration configuration) {
  return ImageStream();
}