microBean™ Jersey Netty CDI Integration


License

License

Categories

Categories

Net Netty Networking Jersey Program Interface REST Frameworks
GroupId

GroupId

org.microbean
ArtifactId

ArtifactId

microbean-jersey-netty-cdi
Last Version

Last Version

0.4.0
Release Date

Release Date

Type

Type

jar
Description

Description

microBean™ Jersey Netty CDI Integration
microBean™ Jersey Netty CDI Integration
Project URL

Project URL

http://microbean.github.io/microbean-jersey-netty-cdi
Project Organization

Project Organization

microBean™
Source Code Management

Source Code Management

https://github.com/microbean/microbean-jersey-netty-cdi/

Download microbean-jersey-netty-cdi

How to add to project

<!-- https://jarcasting.com/artifacts/org.microbean/microbean-jersey-netty-cdi/ -->
<dependency>
    <groupId>org.microbean</groupId>
    <artifactId>microbean-jersey-netty-cdi</artifactId>
    <version>0.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.microbean/microbean-jersey-netty-cdi/
implementation 'org.microbean:microbean-jersey-netty-cdi:0.4.0'
// https://jarcasting.com/artifacts/org.microbean/microbean-jersey-netty-cdi/
implementation ("org.microbean:microbean-jersey-netty-cdi:0.4.0")
'org.microbean:microbean-jersey-netty-cdi:jar:0.4.0'
<dependency org="org.microbean" name="microbean-jersey-netty-cdi" rev="0.4.0">
  <artifact name="microbean-jersey-netty-cdi" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.microbean', module='microbean-jersey-netty-cdi', version='0.4.0')
)
libraryDependencies += "org.microbean" % "microbean-jersey-netty-cdi" % "0.4.0"
[org.microbean/microbean-jersey-netty-cdi "0.4.0"]

Dependencies

compile (4)

Group / Artifact Type Version
io.netty : netty-transport-native-epoll jar
io.netty : netty-transport-native-kqueue jar
org.microbean : microbean-jaxrs-cdi jar 0.1.7
org.microbean : microbean-jersey-netty jar 0.23.0

provided (1)

Group / Artifact Type Version
org.microbean : microbean-base-specification pom 0.5.0

runtime (2)

Group / Artifact Type Version
org.jboss : jandex Optional jar
org.glassfish.jersey.ext.cdi : jersey-cdi1x jar

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
org.glassfish.jersey.inject : jersey-hk2 jar
org.microbean : microbean-weld-se-environment pom 0.7.0

Project Modules

There are no modules declared in this project.

microBean™ Jersey Netty CDI Integration

Build Status Maven Central

The microBean™ Jersey Netty CDI Integration project integrates Jersey and Netty into CDI 2.0 environments in an idiomatic way.

Installation and Usage

Add this project as a runtime-scoped dependency in your CDI 2.0-based Maven project:

<dependency>
  <groupId>org.microbean</groupId>
  <artifactId>microbean-jersey-netty-cdi</artifactId>
  <version>0.4.0</version>
  <scope>runtime</scope>
</dependency>

Then start a CDI SE container. Any JAX-RS applications or resource classes found on the classpath will be served up by Eclipse Jersey and Netty on 0.0.0.0 port 8080 by default, or port 443 by default if there is an SslContext available to your CDI container. You can pass host and port System properties (or source them from any other microBean™ Configuration Configuration instances) to change your application's endpoint.

HTTP 1.1 and HTTP/2 requests, including upgrades via HTTP's upgrade header, ALPN or prior knowledge, are fully supported.

Related Projects

org.microbean

microBean™

At the intersection of Java, Kubernetes and the enterprise.

Versions

Version
0.4.0
0.3.0
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.3
0.0.2
0.0.1