Spring HTTP client cache

A very simple HTTP cache for the Spring RestTemplate.

Лицензия

Лицензия

Категории

Категории

CLI Взаимодействие с пользователем
Группа

Группа

cz.jirutka.spring
Идентификатор

Идентификатор

spring-http-client-cache
Последняя версия

Последняя версия

1.0.0.M1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Spring HTTP client cache
A very simple HTTP cache for the Spring RestTemplate.
Ссылка на сайт

Ссылка на сайт

http://github.com/jirutka/spring-http-client-cache
Система контроля версий

Система контроля версий

http://github.com/jirutka/spring-http-client-cache

Скачать spring-http-client-cache

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/cz.jirutka.spring/spring-http-client-cache/ -->
<dependency>
    <groupId>cz.jirutka.spring</groupId>
    <artifactId>spring-http-client-cache</artifactId>
    <version>1.0.0.M1</version>
</dependency>
// https://jarcasting.com/artifacts/cz.jirutka.spring/spring-http-client-cache/
implementation 'cz.jirutka.spring:spring-http-client-cache:1.0.0.M1'
// https://jarcasting.com/artifacts/cz.jirutka.spring/spring-http-client-cache/
implementation ("cz.jirutka.spring:spring-http-client-cache:1.0.0.M1")
'cz.jirutka.spring:spring-http-client-cache:jar:1.0.0.M1'
<dependency org="cz.jirutka.spring" name="spring-http-client-cache" rev="1.0.0.M1">
  <artifact name="spring-http-client-cache" type="jar" />
</dependency>
@Grapes(
@Grab(group='cz.jirutka.spring', module='spring-http-client-cache', version='1.0.0.M1')
)
libraryDependencies += "cz.jirutka.spring" % "spring-http-client-cache" % "1.0.0.M1"
[cz.jirutka.spring/spring-http-client-cache "1.0.0.M1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.commons : commons-lang3 jar 3.1
net.jcip : jcip-annotations jar 1.0
org.slf4j : slf4j-api jar 1.7.5

provided (2)

Идентификатор библиотеки Тип Версия
org.springframework : spring-web jar 3.1.1.RELEASE
org.projectlombok : lombok jar 1.12.2

test (5)

Идентификатор библиотеки Тип Версия
org.spockframework : spock-core jar 0.7-groovy-2.0
cglib : cglib-nodep jar 3.1
org.springframework : spring-test jar 3.2.0.RELEASE
ch.qos.logback : logback-classic jar 1.1.1
org.codehaus.groovy : groovy jar 2.2.1

Модули Проекта

Данный проект не имеет модулей.

Spring HTTP Client Cache

Build Status Coverage Status Maven Central

The aim of this project is to provide a lightweight client HTTP cache for the Spring Framework, specifically RestTemplate. It’s implemented purely on top of Spring’s interfaces and doesn’t use any “heavy” caching library.

This code is inspired by the Apache HTTP Components.

TODO

  • Add support for conditional requests.
  • Add support for response revalidation.
  • ...

Maven

Released versions are available in The Central Repository. Just add this artifact to your project:

<dependency>
    <groupId>cz.jirutka.spring</groupId>
    <artifactId>spring-http-client-cache</artifactId>
    <version>1.0.0.M1</version>
</dependency>

However if you want to use the last snapshot version, you have to add the Sonatype OSS repository:

<repository>
    <id>sonatype-snapshots</id>
    <name>Sonatype repository for deploying snapshots</name>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>

License

This project is licensed under Apache License 2.0.

Версии библиотеки

Версия
1.0.0.M1