| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpConnection | |
| private volatile long | |
| private static final String | |
| private static final byte[] | |
| pack-priv final Logger | |
| private static final byte[] | |
| private boolean | |
| private final Http1Exchange | |
| private static final BiPredicate | |
| private final HttpRequestImpl | |
| private final HttpRequest. | |
| private volatile boolean | |
| private final HttpHeadersBuilder | |
| private volatile HttpHeaders |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private String | |
| private void | |
| public void | |
| private void | |
| pack-priv Http1Exchange. | |
| pack-priv synchronized boolean | |
| private static ByteBuffer | |
| private String | |
| pack-priv List | |
| private String | |
| private void | |
| private String | |
| pack-priv synchronized void |
| connection | back to summary |
|---|---|
| private final HttpConnection connection | |
| contentLength | back to summary |
|---|---|
| private volatile long contentLength | |
| COOKIE_HEADER | back to summary |
|---|---|
| private static final String COOKIE_HEADER | |
| CRLF | back to summary |
|---|---|
| private static final byte[] CRLF | |
| debug | back to summary |
|---|---|
| pack-priv final Logger debug | |
| EMPTY_CHUNK_BYTES | back to summary |
|---|---|
| private static final byte[] EMPTY_CHUNK_BYTES | |
| finished | back to summary |
|---|---|
| private boolean finished | |
| http1Exchange | back to summary |
|---|---|
| private final Http1Exchange<?> http1Exchange | |
| NOCOOKIES | back to summary |
|---|---|
| private static final BiPredicate<String, String> NOCOOKIES | |
| request | back to summary |
|---|---|
| private final HttpRequestImpl request | |
| requestPublisher | back to summary |
|---|---|
| private final HttpRequest. | |
| streaming | back to summary |
|---|---|
| private volatile boolean streaming | |
| systemHeadersBuilder | back to summary |
|---|---|
| private final HttpHeadersBuilder systemHeadersBuilder | |
| userHeaders | back to summary |
|---|---|
| private volatile HttpHeaders userHeaders | |
| Http1Request | back to summary |
|---|---|
| pack-priv Http1Request(HttpRequestImpl request, Http1Exchange<?> http1Exchange) throws IOException | |
| authorityString | back to summary |
|---|---|
| private String authorityString(InetSocketAddress addr) | |
| collectCookies | back to summary |
|---|---|
| private void collectCookies(StringBuilder sb, HttpHeaders system, HttpHeaders user) | |
| collectHeaders0 | back to summary |
|---|---|
| public void collectHeaders0(StringBuilder sb) | |
| collectHeaders1 | back to summary |
|---|---|
| private void collectHeaders1(StringBuilder sb, HttpHeaders headers, BiPredicate<String, String> filter) | |
| continueRequest | back to summary |
|---|---|
| pack-priv Http1Exchange. | |
| finished | back to summary |
|---|---|
| pack-priv synchronized boolean finished() | |
| getHeader | back to summary |
|---|---|
| private static ByteBuffer getHeader(int size) Returns a header for a particular chunk size | |
| getPathAndQuery | back to summary |
|---|---|
| private String getPathAndQuery(URI uri) | |
| headers | back to summary |
|---|---|
| pack-priv List | |
| hostString | back to summary |
|---|---|
| private String hostString() | |
| logHeaders | back to summary |
|---|---|
| private void logHeaders(String completeHeaders) | |
| requestURI | back to summary |
|---|---|
| private String requestURI() | |
| setFinished | back to summary |
|---|---|
| pack-priv synchronized void setFinished() | |
| Modifier and Type | Field and Description |
|---|---|
| private volatile long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | currentStateMessage()
Implements abstract jdk. A current-state message suitable for inclusion in an exception detail message. |
| public void | onComplete()
Implements java. Method invoked when it is known that no additional Subscriber method invocations will occur for a Subscription that is not already terminated by error, after which no other Subscriber methods are invoked by the Subscription. |
| public void | onError(Throwable throwable)
Implements java. Method invoked upon an unrecoverable error encountered by a Publisher or Subscription, after which no other Subscriber methods are invoked by the Subscription. |
| public void | onNext(ByteBuffer item)
Implements java. Method invoked with a Subscription's next item. |
| public void | onSubscribe(Flow.
Implements java. Method invoked prior to invoking any other Subscriber methods for the given Subscription. |
| contentWritten | back to summary |
|---|---|
| private volatile long contentWritten | |
| FixedContentSubscriber | back to summary |
|---|---|
| pack-priv FixedContentSubscriber() | |
| currentStateMessage | back to summary |
|---|---|
| public String currentStateMessage() Implements abstract jdk. Doc from jdk. A current-state message suitable for inclusion in an exception detail message.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements java. Doc from java. Method invoked when it is known that no additional Subscriber method invocations will occur for a Subscription that is not already terminated by error, after which no other Subscriber methods are invoked by the Subscription. If this method throws an exception, resulting behavior is undefined.
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable throwable) Implements java. Doc from java. Method invoked upon an unrecoverable error encountered by a Publisher or Subscription, after which no other Subscriber methods are invoked by the Subscription. If this method itself throws an exception, resulting behavior is undefined.
| |
| onNext | back to summary |
|---|---|
| public void onNext(ByteBuffer item) Implements java. Doc from java. Method invoked with a Subscription's next item. If this method throws an exception, resulting behavior is not guaranteed, but may cause the Subscription to be cancelled.
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Flow. Implements java. Doc from java. Method invoked prior to invoking any other Subscriber methods for the given Subscription. If this method throws an exception, resulting behavior is not guaranteed, but may cause the Subscription not to be established or to be cancelled. Typically, implementations of this method invoke
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | currentStateMessage()
Implements abstract jdk. A current-state message suitable for inclusion in an exception detail message. |
| public void | onComplete()
Implements java. Method invoked when it is known that no additional Subscriber method invocations will occur for a Subscription that is not already terminated by error, after which no other Subscriber methods are invoked by the Subscription. |
| public void | onError(Throwable throwable)
Implements java. Method invoked upon an unrecoverable error encountered by a Publisher or Subscription, after which no other Subscriber methods are invoked by the Subscription. |
| public void | onNext(ByteBuffer item)
Implements java. Method invoked with a Subscription's next item. |
| public void | onSubscribe(Flow.
Implements java. Method invoked prior to invoking any other Subscriber methods for the given Subscription. |
| StreamSubscriber | back to summary |
|---|---|
| pack-priv StreamSubscriber() | |
| currentStateMessage | back to summary |
|---|---|
| public String currentStateMessage() Implements abstract jdk. Doc from jdk. A current-state message suitable for inclusion in an exception detail message.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements java. Doc from java. Method invoked when it is known that no additional Subscriber method invocations will occur for a Subscription that is not already terminated by error, after which no other Subscriber methods are invoked by the Subscription. If this method throws an exception, resulting behavior is undefined.
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable throwable) Implements java. Doc from java. Method invoked upon an unrecoverable error encountered by a Publisher or Subscription, after which no other Subscriber methods are invoked by the Subscription. If this method itself throws an exception, resulting behavior is undefined.
| |
| onNext | back to summary |
|---|---|
| public void onNext(ByteBuffer item) Implements java. Doc from java. Method invoked with a Subscription's next item. If this method throws an exception, resulting behavior is not guaranteed, but may cause the Subscription to be cancelled.
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Flow. Implements java. Doc from java. Method invoked prior to invoking any other Subscriber methods for the given Subscription. If this method throws an exception, resulting behavior is not guaranteed, but may cause the Subscription not to be established or to be cancelled. Typically, implementations of this method invoke
| |