/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a resource to the cache. * Unlike the {@link #add(org.glassfish.grizzly.http.HttpRequestPacket, java.io.File)} * this method adds a resource to a cache but is not able to send the * resource content to a client if client doesn't have the latest version * of this resource. */ public CacheResult add(final HttpRequestPacket request, final long lastModified) { return add(request, null, lastModified); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }
/** * Add a {@link File} resource to the cache. * If a client comes with not the latest version of this resource - the * {@link FileCache} will return it the latest resource version. */ public CacheResult add(final HttpRequestPacket request, final File cacheFile) { return add(request, cacheFile, cacheFile.lastModified()); }