Package org.w3c.www.protocol.http.cache

Examples of org.w3c.www.protocol.http.cache.EntityCachedResource.perform()


      if(PushCacheManager.instance().isPushResource(res)) {
    EntityCachedResource ecr=(EntityCachedResource)
        res.lookupResource(request);
         
    if(ecr!=null) {
        Reply reply = ecr.perform(request);
        return reply;
    }
      }
  }
  catch(Exception e) {
View Full Code Here


      }
      if (!validator.isValid(ecr, request)) {
    addWarning(request, WARN_STALE);
      }
      addWarning(request, WARN_DISCONNECTED);
      Reply reply = ecr.perform(request);
    // Add any warnings collected during processing to the reply:
      setWarnings(request, reply);
//FIXME      request.setState(STATE_HOW, HOW_HIT);
      return reply;
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.