Class ImageRequestHandler

java.lang.Object
is.galia.resource.ImageRequestHandler

public class ImageRequestHandler extends Object

High-level image request handler. Use the return value of builder() to create new instances.

This class provides a simple interface that image-serving endpoints can use to convert client arguments into images. Simplicity is achieved by abstracting away as much of the tedium of image request handling (caching, format detection, connecting sources to processors, etc.) as possible. There is also no coupling to any particular image-serving protocol.

  • Field Details

    • CACHE_BYPASS_ARGUMENTS

      public static final Set<String> CACHE_BYPASS_ARGUMENTS
      URL argument values that can be used with the cache query key to bypass all caching.
    • CACHE_READ_BYPASS_ARGUMENTS

      public static final Set<String> CACHE_READ_BYPASS_ARGUMENTS
  • Constructor Details

    • ImageRequestHandler

      protected ImageRequestHandler()
  • Method Details