Package | Description |
---|---|
org.eclipse.jetty.client |
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
|
org.eclipse.jetty.client.http | |
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.servlets.gzip |
Jetty Servlets : GZIP Filter Classes
|
org.eclipse.jetty.spdy | |
org.eclipse.jetty.spdy.api | |
org.eclipse.jetty.spdy.client | |
org.eclipse.jetty.spdy.client.http | |
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 |
Jetty WebSocket Common : Implementation [Internal Use Only]
|
org.eclipse.jetty.websocket.common.io |
Jetty WebSocket Common : I/O Implementation
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
HttpSender.sendContent(HttpExchange exchange,
HttpContent content,
Callback callback)
Implementations should send the content at the
HttpContent cursor position over the wire. |
protected abstract void |
HttpSender.sendHeaders(HttpExchange exchange,
HttpContent content,
Callback callback)
Implementations should send the HTTP headers over the wire, possibly with some content,
in a single write, and notify the given
callback of the result of this operation. |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpSenderOverHTTP.sendContent(HttpExchange exchange,
HttpContent content,
Callback callback) |
protected void |
HttpSenderOverHTTP.sendHeaders(HttpExchange exchange,
HttpContent content,
Callback callback) |
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 |
AbstractConnection.fillInterested(Callback callback) |
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 | Class and Description |
---|---|
class |
HttpInputOverHTTP |
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 |
HttpOutput.write(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 | Method and Description |
---|---|
protected void |
GzipHttpOutput.commit(ByteBuffer content,
boolean complete,
Callback callback) |
protected void |
GzipHttpOutput.write(ByteBuffer content,
boolean complete,
Callback callback) |
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 |
---|---|
protected class |
StandardSession.CloseFrameBytes |
protected class |
StandardSession.ControlFrameBytes |
protected class |
StandardSession.DataFrameBytes |
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) |
void |
Controller.write(Callback callback,
ByteBuffer... buffers) |
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(Callback callback,
ByteBuffer... buffers) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpSenderOverSPDY.sendContent(HttpExchange exchange,
HttpContent content,
Callback callback) |
protected void |
HttpSenderOverSPDY.sendHeaders(HttpExchange exchange,
HttpContent content,
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 |
FutureCallback |
class |
IteratingCallback
This specialized callback implements a pattern that allows
a large job to be broken into smaller tasks using iteration
rather than recursion.
|
class |
IteratingNestedCallback
Iterating Nested Callback.
|
Constructor and Description |
---|
IteratingNestedCallback(Callback callback) |
Modifier and Type | Class and Description |
---|---|
class |
UpgradeConnection.SendUpgradeRequest |
Modifier and Type | Class and Description |
---|---|
class |
BlockingWriteCallback |
Modifier and Type | Class and Description |
---|---|
class |
FutureWriteCallback
Allows events to a
WriteCallback to drive a Future for the user. |
class |
WriteCallbackWrapper
Wraps the exposed
WriteCallback WebSocket API with a Jetty Callback . |
Modifier and Type | Method and Description |
---|---|
static Callback |
WriteCallbackWrapper.wrap(WriteCallback callback) |
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.