Class WarmTransport.Outcome

java.lang.Object
org.frontcache.warmer.WarmTransport.Outcome
Enclosing interface:
WarmTransport

public static final class WarmTransport.Outcome extends Object
What the front door answered.
  • Constructor Details

    • Outcome

      public Outcome(int status, String result)
    • Outcome

      public Outcome(int status, String result, String key)
  • Method Details

    • getStatus

      public int getStatus()
    • getResult

      public String getResult()
      x-frontcache-warm-result, or null when the response carried none.
    • getKey

      public String getKey()
      x-frontcache-warm-key: the key the node built for this request, or null when the request never reached the cache (a dynamic URL, a node that predates the header).