在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:httpcache4j/httpcache4j开源软件地址:https://github.com/httpcache4j/httpcache4j开源编程语言:Java 95.8%开源软件介绍:HTTPCache4j a Java Browser cache.HTTP Cache 4 Java is a project that tries to uphold the caching rules defined in HTTP. The rules are mostly defined in Section 13 in RFC2616. The rules are changing slightly in httpbis, and will result in a new set of RFCs which will invalidate RFC2616. Most types in HTTPCache4j are immutable. Meaning all builders, and other types of objects. I have created a few mutable versions which delegates to the immutable types underneath. The mutable versions are not thread safe. UsageSpring supportSpring support has been moved to separate repository. MavenAdd this to your POM
Now choose your resolver.
Then choose your storage mechanism. The core has a built in Memory storage, and is useful for non-persistent small data. The core also has a resolver built on java.net.URLConnection. If this is not enough, there are a number of persistent storages to choose from
There are also a few jdbc storages which are independently developed from the core. SNAPSHOT versionSnapshots are available from Maven
HTTP LibraryIf you want to use HTTPCache4j as a normal HTTP library without the caching functions, you can. Either just use a resolver, or use a NullStorage with the HTTPCache class. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论