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.http |
Jetty Http : Tools for Http processing
|
org.eclipse.jetty.server |
Jetty Server : Core Server API
|
org.eclipse.jetty.server.handler.gzip |
Jetty GZIP Handler
|
Modifier and Type | Field and Description |
---|---|
private HttpField |
HttpClient.agentField |
private HttpField |
HttpClient.encodingField |
private HttpField |
HttpDestination.hostField |
Modifier and Type | Method and Description |
---|---|
protected HttpField |
HttpClient.getAcceptEncodingField() |
HttpField |
HttpDestination.getHostField() |
HttpField |
HttpClient.getUserAgentField() |
Modifier and Type | Method and Description |
---|---|
boolean |
ResponseNotifier.notifyHeader(java.util.List<Response.ResponseListener> listeners,
Response response,
HttpField field) |
private boolean |
ResponseNotifier.notifyHeader(Response.HeaderListener listener,
Response response,
HttpField field) |
boolean |
RedirectProtocolHandler.onHeader(Response response,
HttpField field) |
protected boolean |
HttpReceiver.responseHeader(HttpExchange exchange,
HttpField field)
Method to be invoked when a response HTTP header is available.
|
void |
HttpClient.setUserAgentField(HttpField agent) |
protected void |
HttpReceiver.storeCookie(java.net.URI uri,
HttpField field) |
HttpResponse |
HttpResponse.trailer(HttpField trailer) |
Modifier and Type | Method and Description |
---|---|
boolean |
Response.HeaderListener.onHeader(Response response,
HttpField field)
Callback method invoked when a response header has been received and parsed,
returning whether the header should be processed or not.
|
default boolean |
Response.Listener.onHeader(Response response,
HttpField field) |
Modifier and Type | Method and Description |
---|---|
void |
HttpReceiverOverHTTP.parsedHeader(HttpField field) |
void |
HttpReceiverOverHTTP.parsedTrailer(HttpField trailer) |
Modifier and Type | Class and Description |
---|---|
class |
HostPortHttpField
An HttpField holding a preparsed Host and port number
|
static class |
HttpCookie.SetCookieHttpField |
static class |
HttpField.IntValueHttpField |
static class |
HttpField.LongValueHttpField |
class |
PreEncodedHttpField
Pre encoded HttpField.
|
Modifier and Type | Field and Description |
---|---|
private HttpField |
HttpParser._field |
private HttpField |
MimeTypes.Type._field |
private HttpField[] |
HttpFields._fields |
Modifier and Type | Field and Description |
---|---|
private Trie<HttpField> |
HttpParser._fieldCache |
static Trie<HttpField> |
HttpParser.CACHE
Cache of common
HttpField s including:
Common static combinations such as:
Connection: close
Accept-Encoding: gzip
Content-Length: 0
Combinations of Content-Type header for common mime types by common charsets
Most common headers with null values so that a lookup will at least
determine the header name even if the name:value combination is not cached
|
Modifier and Type | Method and Description |
---|---|
HttpField |
HttpContent.getContentEncoding() |
HttpField |
PrecompressedHttpContent.getContentEncoding() |
HttpField |
ResourceHttpContent.getContentEncoding() |
HttpField |
HttpContent.getContentLength() |
HttpField |
PrecompressedHttpContent.getContentLength() |
HttpField |
ResourceHttpContent.getContentLength() |
HttpField |
HttpContent.getContentType() |
HttpField |
PrecompressedHttpContent.getContentType() |
HttpField |
ResourceHttpContent.getContentType() |
HttpField |
MimeTypes.Type.getContentTypeField() |
HttpField |
HttpContent.getETag() |
HttpField |
PrecompressedHttpContent.getETag() |
HttpField |
ResourceHttpContent.getETag() |
HttpField |
HttpFields.getField(HttpHeader header) |
HttpField |
HttpFields.getField(int index)
Get a Field by index.
|
HttpField |
HttpFields.getField(java.lang.String name) |
HttpField |
HttpContent.getLastModified() |
HttpField |
PrecompressedHttpContent.getLastModified() |
HttpField |
ResourceHttpContent.getLastModified() |
HttpField |
HttpFields.ListItr.next() |
HttpField |
HttpFields.ListItr.previous() |
HttpField |
HttpFields.remove(HttpHeader name)
Remove a field.
|
HttpField |
HttpFields.remove(java.lang.String name)
Remove a field.
|
Modifier and Type | Method and Description |
---|---|
Trie<HttpField> |
HttpParser.getFieldCache() |
java.util.List<HttpField> |
HttpFields.getFields(HttpHeader header) |
java.util.Iterator<HttpField> |
HttpFields.iterator() |
java.util.Iterator<HttpField> |
MetaData.iterator() |
java.util.ListIterator<HttpField> |
HttpFields.listIterator() |
java.util.stream.Stream<HttpField> |
HttpFields.stream() |
Modifier and Type | Method and Description |
---|---|
void |
HttpFields.add(HttpField field) |
void |
HttpFields.ListItr.add(HttpField field) |
boolean |
HttpFields.contains(HttpField field) |
boolean |
HttpField.isSameName(HttpField field) |
void |
HttpParser.HttpHandler.parsedHeader(HttpField field)
This is the method called by parser when an HTTP Header name and value is found
|
default void |
HttpParser.HttpHandler.parsedTrailer(HttpField field)
This is the method called by parser when an HTTP Trailer name and value is found
|
void |
HttpFields.put(HttpField field) |
static void |
HttpGenerator.putTo(HttpField field,
java.nio.ByteBuffer bufferInFillMode) |
void |
HttpFields.ListItr.set(HttpField field) |
Modifier and Type | Field and Description |
---|---|
private static HttpField |
Response.__EXPIRES_01JAN1970 |
private HttpField |
ResourceService._cacheControl |
private HttpField |
HttpChannelOverHttp._connection |
private HttpField |
CachedContentFactory.CachedHttpContent._contentLength |
private HttpField |
CachedContentFactory.CachedHttpContent._contentType |
(package private) HttpField |
Server.DateField._dateField |
private HttpField |
CachedContentFactory.CachedHttpContent._etag |
private HttpField |
CachedContentFactory.CachedPrecompressedHttpContent._etag |
private HttpField |
CachedContentFactory.CachedHttpContent._lastModified |
private HttpField |
SecureRequestCustomizer._stsField |
private HttpField |
HttpChannelOverHttp._upgrade |
static HttpField |
HttpConnection.CONNECTION_CLOSE |
private static HttpField |
PushBuilderImpl.JettyPush |
private static HttpField |
HttpChannelOverHttp.PREAMBLE_UPGRADE_H2C |
Modifier and Type | Method and Description |
---|---|
HttpField |
ResourceService.getCacheControl() |
HttpField |
CachedContentFactory.CachedHttpContent.getContentEncoding() |
HttpField |
CachedContentFactory.CachedHttpContent.getContentLength() |
HttpField |
CachedContentFactory.CachedHttpContent.getContentType() |
HttpField |
Server.getDateField() |
HttpField |
CachedContentFactory.CachedHttpContent.getETag() |
HttpField |
CachedContentFactory.CachedPrecompressedHttpContent.getETag() |
HttpField |
CachedContentFactory.CachedHttpContent.getLastModified() |
Modifier and Type | Method and Description |
---|---|
void |
ForwardedRequestCustomizer.Forwarded.handleCipherSuite(HttpField field) |
void |
ForwardedRequestCustomizer.Forwarded.handleFor(HttpField field) |
void |
ForwardedRequestCustomizer.Forwarded.handleHost(HttpField field) |
void |
ForwardedRequestCustomizer.Forwarded.handleHttps(HttpField field) |
void |
ForwardedRequestCustomizer.Forwarded.handlePort(HttpField field) |
void |
ForwardedRequestCustomizer.Forwarded.handleProto(HttpField field) |
void |
ForwardedRequestCustomizer.Forwarded.handleRFC7239(HttpField field) |
void |
ForwardedRequestCustomizer.Forwarded.handleServer(HttpField field) |
void |
ForwardedRequestCustomizer.Forwarded.handleSslSessionId(HttpField field) |
protected void |
ForwardedRequestCustomizer.onError(HttpField field,
java.lang.Throwable t) |
void |
HttpChannelOverHttp.parsedHeader(HttpField field) |
void |
HttpChannelOverHttp.parsedTrailer(HttpField field) |
void |
ResourceService.setCacheControl(HttpField cacheControl) |
Constructor and Description |
---|
DateField(long seconds,
HttpField dateField) |
Modifier and Type | Field and Description |
---|---|
private HttpField |
GzipHandler._vary |
private HttpField |
GzipHttpOutputInterceptor._vary |
private static HttpField |
GzipHandler.TE_CHUNKED |
static HttpField |
GzipHttpOutputInterceptor.VARY_ACCEPT_ENCODING |
static HttpField |
GzipHttpOutputInterceptor.VARY_ACCEPT_ENCODING_USER_AGENT |
private static HttpField |
GzipHandler.X_CE_GZIP |
Modifier and Type | Method and Description |
---|---|
protected HttpField |
GzipHandler.getVaryField() |
Constructor and Description |
---|
GzipHttpOutputInterceptor(GzipFactory factory,
HttpField vary,
HttpChannel channel,
HttpOutput.Interceptor next,
boolean syncFlush) |
GzipHttpOutputInterceptor(GzipFactory factory,
HttpField vary,
int bufferSize,
HttpChannel channel,
HttpOutput.Interceptor next,
boolean syncFlush) |