Package | Description |
---|---|
org.eclipse.jetty.io |
Jetty IO : Core classes for Jetty IO subsystem
|
org.eclipse.jetty.proxy |
Jetty Proxy : Async Proxy Support
|
org.eclipse.jetty.server |
Jetty Server : Core Server API
|
org.eclipse.jetty.spdy | |
org.eclipse.jetty.spdy.api | |
org.eclipse.jetty.spdy.client | |
org.eclipse.jetty.spdy.server.http | |
org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
org.eclipse.jetty.websocket.client.io |
Jetty WebSocket Client : I/O Implementation [Internal Use Only]
|
org.eclipse.jetty.websocket.common.io |
Jetty WebSocket Common : I/O Implementation
|
org.eclipse.jetty.websocket.server.mux |
Jetty WebSocket Server : MUX Extension [Unstable Early Draft]
|
Modifier and Type | Method and Description |
---|---|
void |
EndPoint.fillInterested(Callback callback)
Requests callback methods to be invoked when a call to
EndPoint.fill(ByteBuffer) would return data or EOF. |
void |
AbstractEndPoint.fillInterested(Callback callback) |
<C> void |
FillInterest.register(Callback callback)
Call to register interest in a callback when a read is possible.
|
void |
EndPoint.write(Callback 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. |
void |
WriteFlusher.write(Callback callback,
ByteBuffer... buffers)
Tries to switch state to WRITING.
|
void |
AbstractEndPoint.write(Callback callback,
ByteBuffer... buffers) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
ProxyConnection.write(EndPoint endPoint,
ByteBuffer buffer,
Callback callback) |
protected void |
ConnectHandler.write(EndPoint endPoint,
ByteBuffer buffer,
Callback callback)
Writes (with non-blocking semantic) the given buffer of data onto the given endPoint.
|
protected void |
ConnectHandler.UpstreamConnection.write(EndPoint endPoint,
ByteBuffer buffer,
Callback callback) |
protected void |
ConnectHandler.DownstreamConnection.write(EndPoint endPoint,
ByteBuffer buffer,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
HttpTransport.send(ByteBuffer content,
boolean lastContent,
Callback callback) |
void |
HttpConnection.send(ByteBuffer content,
boolean lastContent,
Callback callback) |
void |
HttpTransport.send(HttpGenerator.ResponseInfo info,
ByteBuffer content,
boolean lastContent,
Callback callback) |
void |
HttpConnection.send(HttpGenerator.ResponseInfo info,
ByteBuffer content,
boolean lastContent,
Callback callback) |
void |
HttpOutput.sendContent(ByteBuffer content,
Callback callback)
Asynchronous send of content.
|
void |
HttpOutput.sendContent(HttpContent httpContent,
Callback callback)
Asynchronous send of content.
|
void |
HttpOutput.sendContent(InputStream in,
Callback callback)
Asynchronous send of content.
|
void |
HttpOutput.sendContent(ReadableByteChannel in,
Callback callback)
Asynchronous send of content.
|
protected boolean |
HttpChannel.sendResponse(HttpGenerator.ResponseInfo info,
ByteBuffer content,
boolean complete,
Callback callback) |
protected void |
HttpChannel.write(ByteBuffer content,
boolean complete,
Callback callback)
Non-Blocking write, committing the response if needed.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IStream
The internal interface that represents a stream.
|
static interface |
StandardSession.FrameBytes |
Modifier and Type | Class and Description |
---|---|
class |
StandardStream |
Modifier and Type | Method and Description |
---|---|
void |
StandardSession.control(IStream stream,
ControlFrame frame,
long timeout,
TimeUnit unit,
Callback callback) |
void |
ISession.control(IStream stream,
ControlFrame frame,
long timeout,
TimeUnit unit,
Callback callback) |
void |
StandardStream.data(DataInfo dataInfo,
Callback callback) |
void |
StandardSession.data(IStream stream,
DataInfo dataInfo,
long timeout,
TimeUnit unit,
Callback callback) |
void |
ISession.data(IStream stream,
DataInfo dataInfo,
long timeout,
TimeUnit unit,
Callback callback) |
void |
StandardSession.goAway(GoAwayInfo goAwayInfo,
Callback callback) |
void |
StandardStream.headers(HeadersInfo headersInfo,
Callback callback) |
void |
StandardStream.reply(ReplyInfo replyInfo,
Callback callback) |
void |
StandardSession.rst(RstInfo rstInfo,
Callback callback) |
void |
StandardSession.settings(SettingsInfo settingsInfo,
Callback callback) |
protected void |
StandardSession.write(ByteBuffer buffer,
Callback callback) |
void |
Controller.write(ByteBuffer buffer,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
Stream.data(DataInfo dataInfo,
Callback callback)
Sends asynchronously a DATA frame on this stream.
|
void |
Session.goAway(GoAwayInfo goAwayInfo,
Callback callback)
Closes gracefully this session, sending a GO_AWAY frame and then closing the TCP connection.
|
void |
Stream.headers(HeadersInfo headersInfo,
Callback callback)
Sends asynchronously a HEADER frame on this stream.
|
void |
Stream.reply(ReplyInfo replyInfo,
Callback callback)
Sends asynchronously a SYN_REPLY frame in response to a SYN_STREAM frame.
|
void |
Session.rst(RstInfo rstInfo,
Callback callback)
Sends asynchronously a RST_STREAM to abort a stream.
|
void |
Session.settings(SettingsInfo settingsInfo,
Callback callback)
Sends asynchronously a SETTINGS to configure the SPDY connection.
|
Modifier and Type | Method and Description |
---|---|
void |
SPDYConnection.write(ByteBuffer buffer,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
HttpTransportOverSPDY.send(ByteBuffer responseBodyContent,
boolean lastContent,
Callback callback) |
void |
HttpTransportOverSPDY.send(HttpGenerator.ResponseInfo info,
ByteBuffer content,
boolean lastContent,
Callback callback) |
Modifier and Type | Class and Description |
---|---|
class |
BlockingCallback
A Callback for simple reusable conversion of an
asynchronous API to blocking.
|
static class |
Callback.Adapter
Empty implementation of
Callback |
class |
ExecutorCallback |
class |
FutureCallback |
class |
IteratingCallback
Iterating Callback.
|
Constructor and Description |
---|
IteratingCallback(Callback callback) |
Modifier and Type | Class and Description |
---|---|
class |
UpgradeConnection.SendUpgradeRequest |
Modifier and Type | Class and Description |
---|---|
class |
FutureWriteCallback
Allows events to a
WriteCallback to drive a Future for the user. |
class |
WriteBytesProvider
Interface for working with bytes destined for
EndPoint.write(Callback, ByteBuffer...) |
class |
WriteCallbackWrapper
Wraps the exposed
WriteCallback API with a Jetty Callback . |
Modifier and Type | Method and Description |
---|---|
static Callback |
WriteCallbackWrapper.wrap(WriteCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractWebSocketConnection.complete(Callback callback) |
void |
WriteBytesProvider.enqueue(Frame frame,
Callback callback) |
Constructor and Description |
---|
WriteBytesProvider(Generator generator,
Callback flushCallback)
Create a WriteBytesProvider with specified Generator and "flush" Callback.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpTransportOverMux.send(ByteBuffer responseBodyContent,
boolean lastContent,
Callback callback) |
void |
HttpTransportOverMux.send(HttpGenerator.ResponseInfo info,
ByteBuffer responseBodyContent,
boolean lastContent,
Callback callback) |
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.