Bundled Java Spring extensions with Boot configuration

Bundled Java Spring extensions like sharping-data, sharping-multipart, etc. with Boot configuration

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

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

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

sharping-spring-suite-boot
Последняя версия

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

0.21.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Bundled Java Spring extensions with Boot configuration
Bundled Java Spring extensions like sharping-data, sharping-multipart, etc. with Boot configuration
Система контроля версий

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

http://github.com/seesharpsoft/sharping/tree/master/sharping-spring-suite-boot

Скачать sharping-spring-suite-boot

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

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

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-web jar
org.springframework.boot : spring-boot-configuration-processor Необязательный jar
net.seesharpsoft.sharping : sharping-spring-suite jar 0.21.0
net.seesharpsoft.sharping : sharping-spring-multipart-boot jar 0.21.0

test (7)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-starter-data-jpa jar
junit : junit jar
org.hamcrest : hamcrest-library jar
org.springframework : spring-test jar
org.springframework.boot : spring-boot-starter-test jar
net.seesharpsoft.sharping : sharping-spring-hibernate jar 0.21.0
com.h2database : h2 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.21.0
0.20.0
0.18.0
0.17.0
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.0