HTTP Transport Binding

The HTTP transport is logically divided into two functions:

  • The HTTP message receiver

  • The message relay

The message receiver simply accepts JXTA messages over HTTP, while the message relay implements a protocol that allows peers to connect to it for message relay capabilities.

Message Receiver

The HTTP message receiver supports two operations: an HTTP POST of a JXTA message, and an HTTP GET that is effectively a ping operation. Both the POST and GET operations are performed on the base URI of the HTTP endpoint for the JXTA peer.

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.