Package com.mastfrog.acteur
Class CheckIfNoneMatchHeader
java.lang.Object
com.mastfrog.acteurbase.AbstractActeur<Response,com.mastfrog.acteur.ResponseImpl,State>
com.mastfrog.acteur.Acteur
com.mastfrog.acteur.CheckIfNoneMatchHeader
Convenience Acteur which compares the current Page's ETag against the current
request's If-None-Match header and returns a 304 response if the browser's
cached version is current.
- Author:
- Tim Boudreau
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mastfrog.acteur.Acteur
Acteur.ConsumedLockedState, Acteur.ConsumedState, Acteur.Delegate, Acteur.RejectedState, Acteur.RespondWith -
Field Summary
Fields inherited from class com.mastfrog.acteurbase.AbstractActeur
creationStackTrace -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeYourself(Map<String, Object> into) Provide a description used in help-page generation.Methods inherited from class com.mastfrog.acteur.Acteur
add, badRequest, badRequest, continueAfter, continueAfter, continueAfter, defer, deferThenRespond, deferThenRespond, dependencies, get, getContextContribution, getResponse, getState, next, noContent, notFound, notFound, ok, ok, reject, reply, reply, reply, response, setChunked, setMessage, setResponseBodyWriter, setResponseBodyWriter, setResponseCode, setResponseWriter, setResponseWriter, then, then, then, wrapMethods inherited from class com.mastfrog.acteurbase.AbstractActeur
setState
-
Method Details
-
describeYourself
Description copied from class:ActeurProvide 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:
describeYourselfin classActeur- Parameters:
into- A map to put key/value pairs into
-