SeeSharpSoft Java Spring Framework Essentials

Programming model and libraries for developing WebApps on Java Spring Framework.

License

License

Categories

Categories

Net
GroupId

GroupId

net.seesharpsoft.sharping
ArtifactId

ArtifactId

sharping-parent
Last Version

Last Version

0.21.0
Release Date

Release Date

Type

Type

pom
Description

Description

SeeSharpSoft Java Spring Framework Essentials
Programming model and libraries for developing WebApps on Java Spring Framework.
Project URL

Project URL

http://github.com/seesharpsoft/sharping
Source Code Management

Source Code Management

http://github.com/seesharpsoft/sharping/tree/master

Download sharping-parent

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • sharping-commons
  • sharping-spring-data
  • sharping-spring-multipart
  • sharping-spring-multipart-boot
  • sharping-spring-suite
  • sharping-spring-multipart-example
  • sharping-spring-multipart-boot-example
  • sharping-spring-suite-boot
  • sharping-spring-hibernate

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--

Versions

Version
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
0.10.0
0.9.1
0.9.0