Example usage for org.apache.wicket.request.http WebResponse MAX_CACHE_DURATION

List of usage examples for org.apache.wicket.request.http WebResponse MAX_CACHE_DURATION

Introduction

In this page you can find the example usage for org.apache.wicket.request.http WebResponse MAX_CACHE_DURATION.

Prototype

Duration MAX_CACHE_DURATION

To view the source code for org.apache.wicket.request.http WebResponse MAX_CACHE_DURATION.

Click Source Link

Document

Recommended value for cache duration

Usage

From source file:net.dontdrinkandroot.extensions.wicket.resource.AbstractFileThumbnailResource.java

License:Apache License

protected Duration getCacheDuration() {
    return WebResponse.MAX_CACHE_DURATION;
}

From source file:net.dontdrinkandroot.wicket.resource.AbstractFileThumbnailResource.java

License:Apache License

protected Duration getCacheDuration() {

    return WebResponse.MAX_CACHE_DURATION;
}