users@jsr311.java.net

Re: Request.evaluateConditions(EntityTag)

From: Sergey Beryozkin <sberyozk_at_progress.com>
Date: Fri, 18 Sep 2009 17:53:17 +0100

Hi

Following my question about
Request.evaluatePreconditions() (thanks Marc for the answer) I'd like to clarify how Request.evaluateConditions(EntityTag) (and
similarly with Date being the arg) should act.

There could be

If-Match : something
and
If-Non-Match : something

Request.evaluateConditions(EntityTag) can detect that a user provided value matches either that of If-Match or If-Non-Match.

Should Request.evaluateConditions(EntityTag) return null if a provided tag value matches either that of If-Match or If-Non-Match ?
Or null if it matches If-Match and not matches If-Non-Match ?

thanks, Sergey