Jetty Websocket Interface Wrapper

A simple wrapper to use Jetty websocket client without annotation support (eg. from jython).

Лицензия

Лицензия

Категории

Категории

Jetty Контейнер Application Servers
Группа

Группа

io.r2
Идентификатор

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

jetty-ws-wrapper
Последняя версия

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

0.1
Дата

Дата

Тип

Тип

pom.sha512
Описание

Описание

Jetty Websocket Interface Wrapper
A simple wrapper to use Jetty websocket client without annotation support (eg. from jython).
Ссылка на сайт

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

https://github.com/robymus/jetty-ws-wrapper
Система контроля версий

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

https://github.com/robymus/jetty-ws-wrapper

Скачать jetty-ws-wrapper

Зависимости

runtime (1)

Идентификатор библиотеки Тип Версия
org.eclipse.jetty.websocket : websocket-api jar 9.0.3.v20130506

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

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

jetty-ws-wrapper

Simple hack to use jetty websocket client from jython.

As the jetty websocket client uses an annotated POJO as the message handler, it is not easy to use it from jython, creating annotations is very clumsy on jython classes.

It uses jetty-websocket-api 9.0.3 for compatibility with legacy codebase.

All classes and interfaces are in io.r2.jettywswrapper package.

Basic usage

The WebSocketWrapper class wraps a WebSocketInterface into an annotated class.

It supports only text messages and

That's it, this is a just patch for a legacy jython code, so it's not nice.

Advanced usage

Just in case, maybe needed in the future, the WebSocketWrapperAdv class wraps a WebSocketInterfaceAdv, exposing all events and binary messages as well.

Repository

Available in maven central as io.r2:jetty-ws-wrapper.

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

Версия
0.1