This repository has been archived by the owner. It is now read-only.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
README.md
pom.xml

README.md

This is experimental module that provides JAX-RS Message Body Writer & Reader using Kryo serialization framework.

How to use it

Add dependency to the module:

<dependency>
    <groupId>org.glassfish.jersey.media</groupId>
    <artifactId>jersey-media-kryo</artifactId>
    <version>${jersey.version}</version>
</dependency>

And now you can consume or produce entities (de)serialized by Kryo. Just use application/x-kryo MIME type, e.g.:

@Path("/rest")
@Consumes("application/x-kryo")
@Produces("application/x-kryo")
public class MyResource { ... }