Package | Description |
---|---|
docoverride.buffer |
Create a buffer from a byte[]
[source,java]
----
Examples.example4()
---- |
docoverride.dns |
=== Error handling
As you saw in previous sections the DnsClient allows you to pass in a Handler which will be notified with an
AsyncResult once the query was complete.
|
docoverride.eventbus |
==== Message Codecs
You can send any object you like across the event bus if you define and register a
message codec for it. |
docoverride.eventbus.headers |
==== Setting headers on messages
Messages sent over the event bus can also contain headers.
|
docoverride.json |
== JSON
:toc: left
Unlike some other languages, Java does not have first class support for http://json.org/[JSON] so we provide
two classes to make handling JSON in your Vert.x applications a bit easier.
|
docoverride.verticles |
=== Writing Verticles
Verticle classes must implement the
Verticle interface. |
docoverride.verticles.configuration |
=== Passing configuration to a verticle
Configuration in the form of JSON can be passed to a verticle at deployment time:
[source,$lang]
----
CoreExamples.example13(io.vertx.core.Vertx)
----
This configuration is then available via the Context object or directly using the
AbstractVerticle.config() method. |
examples | |
io.vertx.core |
= Vert.x Core Manual
:toc: left
At the heart of Vert.x is a set of Java APIs that we call *Vert.x Core*
https://github.com/eclipse/vert.x[Repository].
|
io.vertx.core.buffer |
== Buffers
:toc: left
Most data is shuffled around inside Vert.x using buffers.
|
io.vertx.core.buffer.impl | |
io.vertx.core.datagram |
== Datagram sockets (UDP)
Using User Datagram Protocol (UDP) with Vert.x is a piece of cake.
|
io.vertx.core.datagram.impl | |
io.vertx.core.dns |
== DNS client
Often you will find yourself in situations where you need to obtain DNS informations in an asynchronous fashion.
|
io.vertx.core.dns.impl | |
io.vertx.core.dns.impl.netty | |
io.vertx.core.dns.impl.netty.decoder |
Handles the decoding of DNS response packets.
|
io.vertx.core.dns.impl.netty.decoder.record |
Some DNS response packets contain numerous pieces of data that cannot be
decoded into a single object such as a
String . |
io.vertx.core.eventbus |
== The Event Bus
:toc: left
The
event bus is the *nervous system* of Vert.x. |
io.vertx.core.eventbus.impl | |
io.vertx.core.eventbus.impl.codecs | |
io.vertx.core.file |
== Using the file system with Vert.x
The Vert.x
FileSystem object provides many operations for manipulating the file system. |
io.vertx.core.file.impl | |
io.vertx.core.http |
== Writing HTTP servers and clients
Vert.x allows you to easily write non blocking HTTP clients and servers.
|
io.vertx.core.http.impl | |
io.vertx.core.http.impl.cgbystrom | |
io.vertx.core.http.impl.ws | |
io.vertx.core.impl | |
io.vertx.core.impl.verticle | |
io.vertx.core.json | |
io.vertx.core.logging | |
io.vertx.core.metrics | |
io.vertx.core.metrics.impl | |
io.vertx.core.net |
== Writing TCP servers and clients
Vert.x allows you to easily write non blocking TCP clients and servers.
|
io.vertx.core.net.impl | |
io.vertx.core.parsetools |
== Record Parser
The record parser allows you to easily parse protocols which are delimited by a sequence of bytes, or fixed
size records.
|
io.vertx.core.parsetools.impl | |
io.vertx.core.shareddata |
== Using Shared Data with Vert.x
Shared data contains functionality that allows you to safely share data between different parts of your application,
or different applications in the same Vert.x instance or across a cluster of Vert.x instances.
|
io.vertx.core.shareddata.impl | |
io.vertx.core.spi | |
io.vertx.core.spi.cluster | |
io.vertx.core.spi.logging | |
io.vertx.core.spi.metrics | |
io.vertx.core.streams |
== Streams
There are several objects in Vert.x that allow items to be read from and written.
|
io.vertx.core.streams.impl |
Copyright © 2015. All Rights Reserved.