| Package | Description |
|---|---|
| org.eclipse.jetty.client |
This package provides APIs, utility classes and implementation class of an asynchronous HTTP client
The core class is
HttpClient, which acts as a central configuration object (for example
for idle timeouts, max connections per domain, etc.) and as a factory for Request objects. |
| org.eclipse.jetty.io | |
| org.eclipse.jetty.server | |
| org.eclipse.jetty.server.handler | |
| org.eclipse.jetty.spdy | |
| org.eclipse.jetty.spdy.api | |
| org.eclipse.jetty.spdy.client | |
| org.eclipse.jetty.spdy.server.http | |
| org.eclipse.jetty.util | |
| org.eclipse.jetty.websocket.client.internal | |
| org.eclipse.jetty.websocket.client.internal.io | |
| org.eclipse.jetty.websocket.common.io | |
| org.eclipse.jetty.websocket.server.callbacks | |
| org.eclipse.jetty.websocket.server.mux |
| Modifier and Type | Method and Description |
|---|---|
protected void |
HttpDestination.newConnection(Callback<Connection> callback) |
protected void |
HttpClient.newConnection(HttpDestination destination,
Callback<Connection> callback) |
| Modifier and Type | Method and Description |
|---|---|
<C> void |
EndPoint.fillInterested(C context,
Callback<C> callback)
Requests callback methods to be invoked when a call to
EndPoint.fill(ByteBuffer) would return data or EOF. |
<C> void |
AbstractEndPoint.fillInterested(C context,
Callback<C> callback) |
<C> void |
FillInterest.register(C context,
Callback<C> callback)
Call to register interest in a callback when a read is possible.
|
<C> void |
EndPoint.write(C context,
Callback<C> callback,
ByteBuffer... buffers)
Writes the given buffers via
EndPoint.flush(ByteBuffer...) and invokes callback methods when either
all the data has been flushed or an error occurs. |
<C> void |
WriteFlusher.write(C context,
Callback<C> callback,
ByteBuffer... buffers)
Tries to switch state to WRITING.
|
<C> void |
AbstractEndPoint.write(C context,
Callback<C> callback,
ByteBuffer... buffers) |
| Modifier and Type | Method and Description |
|---|---|
<C> void |
HttpTransport.send(HttpGenerator.ResponseInfo info,
ByteBuffer content,
boolean lastContent,
C context,
Callback<C> callback) |
<C> void |
HttpConnection.send(HttpGenerator.ResponseInfo info,
ByteBuffer content,
boolean lastContent,
C context,
Callback<C> callback) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
ProxyConnection.write(EndPoint endPoint,
ByteBuffer buffer,
ConcurrentMap<String,Object> context,
Callback<Void> callback) |
protected void |
ConnectHandler.write(EndPoint endPoint,
ByteBuffer buffer,
ConcurrentMap<String,Object> context,
Callback<Void> callback)
Writes (with non-blocking semantic) the given buffer of data onto the given endPoint.
|
protected void |
ConnectHandler.UpstreamConnection.write(EndPoint endPoint,
ByteBuffer buffer,
ConcurrentMap<String,Object> context,
Callback<Void> callback) |
protected void |
ConnectHandler.DownstreamConnection.write(EndPoint endPoint,
ByteBuffer buffer,
ConcurrentMap<String,Object> context,
Callback<Void> callback) |
| Modifier and Type | Class and Description |
|---|---|
class |
Promise<T>
Deprecated.
|
class |
StandardSession |
| Modifier and Type | Method and Description |
|---|---|
<C> void |
StandardSession.control(IStream stream,
ControlFrame frame,
long timeout,
TimeUnit unit,
Callback<C> callback,
C context) |
<C> void |
ISession.control(IStream stream,
ControlFrame frame,
long timeout,
TimeUnit unit,
Callback<C> callback,
C context) |
<C> void |
StandardStream.data(DataInfo dataInfo,
long timeout,
TimeUnit unit,
C context,
Callback<C> callback) |
<C> void |
StandardSession.data(IStream stream,
DataInfo dataInfo,
long timeout,
TimeUnit unit,
Callback<C> callback,
C context) |
<C> void |
ISession.data(IStream stream,
DataInfo dataInfo,
long timeout,
TimeUnit unit,
Callback<C> callback,
C context) |
void |
StandardSession.goAway(long timeout,
TimeUnit unit,
Callback<Void> callback) |
void |
StandardStream.headers(HeadersInfo headersInfo,
long timeout,
TimeUnit unit,
Callback<Void> callback) |
void |
StandardSession.ping(long timeout,
TimeUnit unit,
Callback<PingInfo> callback) |
void |
StandardStream.reply(ReplyInfo replyInfo,
long timeout,
TimeUnit unit,
Callback<Void> callback) |
void |
StandardSession.rst(RstInfo rstInfo,
long timeout,
TimeUnit unit,
Callback<Void> callback) |
void |
StandardSession.settings(SettingsInfo settingsInfo,
long timeout,
TimeUnit unit,
Callback<Void> callback) |
void |
StandardStream.syn(SynInfo synInfo,
long timeout,
TimeUnit unit,
Callback<Stream> callback) |
void |
StandardSession.syn(SynInfo synInfo,
StreamFrameListener listener,
long timeout,
TimeUnit unit,
Callback<Stream> callback) |
protected void |
StandardSession.write(ByteBuffer buffer,
Callback<StandardSession.FrameBytes> callback,
StandardSession.FrameBytes frameBytes) |
int |
Controller.write(ByteBuffer buffer,
Callback<T> callback,
T context) |
| Modifier and Type | Method and Description |
|---|---|
<C> void |
Stream.data(DataInfo dataInfo,
long timeout,
TimeUnit unit,
C context,
Callback<C> callback)
Sends asynchronously a DATA frame on this stream.
|
void |
Session.goAway(long timeout,
TimeUnit unit,
Callback<Void> callback)
Closes gracefully this session, sending a GO_AWAY frame and then closing the TCP connection.
|
void |
Stream.headers(HeadersInfo headersInfo,
long timeout,
TimeUnit unit,
Callback<Void> callback)
Sends asynchronously a HEADER frame on this stream.
|
void |
Session.ping(long timeout,
TimeUnit unit,
Callback<PingInfo> callback)
Sends asynchronously a PING, normally to measure round-trip time.
|
void |
Stream.reply(ReplyInfo replyInfo,
long timeout,
TimeUnit unit,
Callback<Void> callback)
Sends asynchronously a SYN_REPLY frame in response to a SYN_STREAM frame.
|
void |
Session.rst(RstInfo rstInfo,
long timeout,
TimeUnit unit,
Callback<Void> callback)
Sends asynchronously a RST_STREAM to abort a stream.
|
void |
Session.settings(SettingsInfo settingsInfo,
long timeout,
TimeUnit unit,
Callback<Void> callback)
Sends asynchronously a SETTINGS to configure the SPDY connection.
|
void |
Stream.syn(SynInfo synInfo,
long timeout,
TimeUnit unit,
Callback<Stream> callback)
Initiate a unidirectional spdy pushstream associated to this stream asynchronously
|
void |
Session.syn(SynInfo synInfo,
StreamFrameListener listener,
long timeout,
TimeUnit unit,
Callback<Stream> callback)
Sends asynchronously a SYN_FRAME to create a new
SPDY stream. |
| Modifier and Type | Method and Description |
|---|---|
int |
SPDYConnection.write(ByteBuffer buffer,
Callback<StandardSession.FrameBytes> callback,
StandardSession.FrameBytes context) |
| Modifier and Type | Method and Description |
|---|---|
<C> void |
HttpTransportOverSPDY.send(HttpGenerator.ResponseInfo info,
ByteBuffer content,
boolean lastContent,
C context,
Callback<C> callback) |
| Modifier and Type | Class and Description |
|---|---|
class |
BlockingCallback
A Callback for simple reusable conversion of an
asynchronous API to blocking.
|
static class |
Callback.Empty<C>
Empty implementation of
Callback |
class |
ExecutorCallback<C> |
class |
FutureCallback<C> |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultWebSocketClient
WebSocketClient for working with Upgrade (request and response), and establishing connections to the websocket URI of your choice.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UpgradeConnection.SendUpgradeRequest |
| Modifier and Type | Class and Description |
|---|---|
class |
ControlFrameBytes |
class |
DataFrameBytes |
class |
FrameBytes |
| Modifier and Type | Class and Description |
|---|---|
class |
WebSocketOpenCallback |
| Modifier and Type | Method and Description |
|---|---|
<C> void |
HttpTransportOverMux.send(HttpGenerator.ResponseInfo info,
ByteBuffer responseBodyContent,
boolean lastContent,
C context,
Callback<C> callback) |
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.