Class CheckIfModifiedSinceHeader

java.lang.Object
com.mastfrog.acteurbase.AbstractActeur<Response,com.mastfrog.acteur.ResponseImpl,State>
com.mastfrog.acteur.Acteur
com.mastfrog.acteur.CheckIfModifiedSinceHeader

public final class CheckIfModifiedSinceHeader extends Acteur
Convenience Acteur which compares the current Page's Date against the current request's If-Modified-Since header and returns a 304 response if the browser's cached version is current.
Author:
Tim Boudreau
  • Method Details

    • describeYourself

      public void describeYourself(Map<String,Object> into)
      Description copied from class: Acteur
      Provide a description used in help-page generation. Acteurs which are instantiated declaratively need not override this, as information will be generated from the annotations on the acteur and any description provided
      Overrides:
      describeYourself in class Acteur
      Parameters:
      into - A map to put key/value pairs into