Java Spring/JPA Data Handling support

Java Spring/JPA 2.1 data related extensions.

Лицензия

Лицензия

Категории

Категории

Данные Сеть
Группа

Группа

net.seesharpsoft.spring
Идентификатор

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

sharping-data
Последняя версия

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

0.8.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Java Spring/JPA Data Handling support
Java Spring/JPA 2.1 data related extensions.

Скачать sharping-data

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

<!-- https://jarcasting.com/artifacts/net.seesharpsoft.spring/sharping-data/ -->
<dependency>
    <groupId>net.seesharpsoft.spring</groupId>
    <artifactId>sharping-data</artifactId>
    <version>0.8.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.seesharpsoft.spring/sharping-data/
implementation 'net.seesharpsoft.spring:sharping-data:0.8.0'
// https://jarcasting.com/artifacts/net.seesharpsoft.spring/sharping-data/
implementation ("net.seesharpsoft.spring:sharping-data:0.8.0")
'net.seesharpsoft.spring:sharping-data:jar:0.8.0'
<dependency org="net.seesharpsoft.spring" name="sharping-data" rev="0.8.0">
  <artifact name="sharping-data" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.seesharpsoft.spring', module='sharping-data', version='0.8.0')
)
libraryDependencies += "net.seesharpsoft.spring" % "sharping-data" % "0.8.0"
[net.seesharpsoft.spring/sharping-data "0.8.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.hibernate.javax.persistence : hibernate-jpa-2.1-api jar 1.0.2.Final
net.seesharpsoft.spring : sharping-core jar 0.8.0

provided (1)

Идентификатор библиотеки Тип Версия
org.springframework.data : spring-data-jpa jar

test (4)

Идентификатор библиотеки Тип Версия
junit : junit jar
org.hamcrest : hamcrest-library jar
org.springframework : spring-test jar
org.mockito : mockito-core jar

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

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

Spring - Multipart / Batch messages

Enable multipart / batch request for JAVA Spring.

Links

Implementation is syntactically inspired by

http://www.rfc-editor.org/rfc/rfc2046.txt

https://tools.ietf.org/id/draft-snell-http-batch-00.html

http://www.odata.org/documentation/odata-version-3-0/batch-processing/

Example

  • startup multipart-example spring-boot:run
  • POST localhost:8080/my/own/multipart/endpoint

Header

Content-Type: multipart/mixed

Body

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

GET /hello HTTP/1.1
Host: host

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

GET /greeting?name=Trevor HTTP/1.1
Host: host

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

GET /greeting?name=Peter&name=Lustig HTTP/1.1
--batch--

Response

--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 200 OK
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 27

Greetings from Spring Boot!
--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 35

{"id":1,"content":"Hello, Trevor!"}
--batch
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Content-Length: 41

{"id":2,"content":"Hello, Peter,Lustig!"}
--batch--

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

Версия
0.8.0
0.7.1
0.7.0
0.6.0