Spring Boot CXF Integration

Spring Boot integration for CXF, specifically for JAX-RS

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы Сеть
Группа

Группа

com.internetitem.spring
Идентификатор

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

spring-boot-cxf-jaxrs
Последняя версия

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

1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Spring Boot CXF Integration
Spring Boot integration for CXF, specifically for JAX-RS
Ссылка на сайт

Ссылка на сайт

https://github.com/internetitem/spring-boot-cxf-jaxrs
Организация-разработчик

Организация-разработчик

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

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

https://github.com/internetitem/spring-boot-cxf-jaxrs

Скачать spring-boot-cxf-jaxrs

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

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.fasterxml.jackson.jaxrs : jackson-jaxrs-json-provider jar 2.4.4

provided (3)

Идентификатор библиотеки Тип Версия
org.springframework : spring-context jar 4.1.3.RELEASE
org.springframework.boot : spring-boot-starter-web jar 1.2.0.RELEASE
org.apache.cxf : cxf-rt-frontend-jaxrs jar 3.0.2

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

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

Spring Boot CXF Integration

Spring Boot integration for CXF, specifically for JAX-RS.

Usage

Add the following to your pom.xml (updating <version> where appropriate):

<dependency>
    <groupId>com.internetitem.spring</groupId>
    <artifactId>spring-boot-cxf-jaxrs</artifactId>
    <version>1.1</version>
</dependency>

All beans tagged with @Path will be automatically added as JAX-RS Services. All beans tagged with @Provider will be added as JAX-RS Providers.

Dependencies

You must declare Spring, Spring Boot and CXF as dependencies. This POM will bring in Jackson (for JSON support) automatically.

Customization

  • The property cxf.path can be used to customize where the CXF Servlet is "mounted". It defaults to "/services/*"
  • If the property cxf.log.requests is set, request data will be logged
  • If a bean of type JacksonJsonProvider (such as JacksonJaxbJsonProvider) is found, that will be used instead of the built-in version
  • If a bean of type ObjectMapper is found, that will be used instead of the built-in version

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

Версия
1.1
1.0