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.api |
Jetty Client : API Classes
|
org.eclipse.jetty.client.http | |
org.eclipse.jetty.client.util |
Jetty Client : Utility Classes
|
org.eclipse.jetty.fcgi.client.http | |
org.eclipse.jetty.fcgi.generator | |
org.eclipse.jetty.fcgi.server | |
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 | Class and Description |
---|---|
class |
HttpContent
HttpContent is a stateful, linear representation of the request content provided
by a ContentProvider that can be traversed one-way to obtain content buffers to
send to a HTTP server. |
Modifier and Type | Method and Description |
---|---|
void |
ResponseNotifier.notifyContent(List<Response.ResponseListener> listeners,
Response response,
ByteBuffer buffer,
Callback callback) |
protected boolean |
HttpReceiver.responseContent(HttpExchange exchange,
ByteBuffer buffer,
Callback callback)
Method to be invoked when response HTTP content is available.
|
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 |
---|---|
void |
Response.AsyncContentListener.onContent(Response response,
ByteBuffer content,
Callback callback)
Callback method invoked asynchronously when the response content has been received.
|
void |
Response.Listener.Adapter.onContent(Response response,
ByteBuffer content,
Callback callback) |
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 | Class and Description |
---|---|
class |
DeferredContentProvider
A
ContentProvider that allows to add content after Request.send(Response.CompleteListener)
has been called, therefore providing the request content at a later time. |
class |
InputStreamContentProvider
A
ContentProvider for an InputStream . |
class |
OutputStreamContentProvider
A
ContentProvider that provides content asynchronously through an OutputStream
similar to DeferredContentProvider . |
Modifier and Type | Method and Description |
---|---|
boolean |
DeferredContentProvider.offer(ByteBuffer buffer,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
HttpChannelOverFCGI.content(ByteBuffer buffer,
Callback callback) |
protected boolean |
HttpReceiverOverFCGI.responseContent(HttpExchange exchange,
ByteBuffer buffer,
Callback callback) |
protected void |
HttpSenderOverFCGI.sendContent(HttpExchange exchange,
HttpContent content,
Callback callback) |
protected void |
HttpSenderOverFCGI.sendHeaders(HttpExchange exchange,
HttpContent content,
Callback callback) |
Modifier and Type | Class and Description |
---|---|
static class |
Generator.Result |
Modifier and Type | Method and Description |
---|---|
protected Generator.Result |
Generator.generateContent(int id,
ByteBuffer content,
boolean recycle,
boolean lastContent,
Callback callback,
FCGI.FrameType frameType) |
Generator.Result |
ClientGenerator.generateRequestContent(int request,
ByteBuffer content,
boolean lastContent,
Callback callback) |
Generator.Result |
ClientGenerator.generateRequestHeaders(int request,
HttpFields fields,
Callback callback) |
Generator.Result |
ServerGenerator.generateResponseContent(int request,
ByteBuffer content,
boolean lastContent,
boolean aborted,
Callback callback) |
Generator.Result |
ServerGenerator.generateResponseHeaders(int request,
int code,
String reason,
HttpFields fields,
Callback callback) |
Constructor and Description |
---|
Generator.Result(ByteBufferPool byteBufferPool,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
protected Generator.Result |
HttpTransportOverFCGI.generateResponseContent(ByteBuffer buffer,
boolean lastContent,
Callback callback) |
protected Generator.Result |
HttpTransportOverFCGI.generateResponseHeaders(HttpGenerator.ResponseInfo info,
Callback callback) |
void |
HttpTransportOverFCGI.send(ByteBuffer content,
boolean lastContent,
Callback callback) |
void |
HttpTransportOverFCGI.send(HttpGenerator.ResponseInfo info,
ByteBuffer content,
boolean lastContent,
Callback callback) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractConnection.failedCallback(Callback callback,
Throwable x) |
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) |
void |
AbstractConnection.fillInterested(Callback callback) |
<C> void |
FillInterest.register(Callback callback)
Call to register interest in a callback when a read is possible.
|
void |
WriteFlusher.write(Callback callback,
ByteBuffer... buffers)
Tries to switch state to WRITING.
|
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 |
AbstractEndPoint.write(Callback callback,
ByteBuffer... buffers) |
Modifier and Type | Class and Description |
---|---|
protected class |
AsyncProxyServlet.StreamReader |
protected class |
ProxyServlet.ProxyInputStreamContentProvider |
Modifier and Type | Method and Description |
---|---|
protected void |
AsyncProxyServlet.StreamWriter.data(byte[] bytes,
int offset,
int length,
Callback callback) |
void |
ProxyServlet.ProxyResponseListener.onContent(Response proxyResponse,
ByteBuffer content,
Callback callback) |
protected void |
AsyncProxyServlet.StreamReader.onRequestContent(Request proxyRequest,
HttpServletRequest request,
DeferredContentProvider provider,
byte[] buffer,
int offset,
int length,
Callback callback) |
protected void |
ProxyServlet.onResponseContent(HttpServletRequest request,
HttpServletResponse response,
Response proxyResponse,
byte[] buffer,
int offset,
int length,
Callback callback) |
protected void |
AsyncProxyServlet.onResponseContent(HttpServletRequest request,
HttpServletResponse response,
Response proxyResponse,
byte[] buffer,
int offset,
int length,
Callback callback) |
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
An implementation of Callback that blocks until success or failure.
|
static class |
Callback.Adapter
Empty implementation of
Callback |
class |
CompletableCallback
A callback to be used by driver code that needs to know whether the callback has been
succeeded or failed (that is, completed) just after the asynchronous operation or not,
typically because further processing depends on the callback being completed.
|
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.
|
class |
SharedBlockingCallback.Blocker
A Closeable Callback.
|
Constructor and Description |
---|
IteratingNestedCallback(Callback callback) |
Modifier and Type | Class and Description |
---|---|
class |
UpgradeConnection.SendUpgradeRequest |
Modifier and Type | Class and Description |
---|---|
static class |
BlockingWriteCallback.WriteBlocker |
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-2015 Webtide. All Rights Reserved.