Class FbFixed

  • All Implemented Interfaces:
    Fallback

    public final class FbFixed
    extends FbWrap
    Fallback with a fixed response.

    The class is immutable and thread-safe.

    Since:
    0.13
    • Constructor Detail

      • FbFixed

        public FbFixed​(Response response)
        Ctor.
        Parameters:
        response - Response to return
      • FbFixed

        public FbFixed​(Take take)
        Ctor.
        Parameters:
        take - Take to use
        Since:
        0.14