| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final ByteBuffer | |
| private volatile boolean | |
| private final long | |
| private static final int | |
| private FormDataElement[] | |
| private final String | |
| private static final HttpClient | |
| private static final PlatformLogger | |
| private String | |
| private final CompletableFuture | |
| private String | |
| private final WebPage |
| Access | Constructor and Description |
|---|---|
| private | HTTP2Loader(WebPage webPage, ByteBufferPool byteBufferPool, boolean asynchronous, String url, String method, String headers, FormDataElement[] formDataElements, long data)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private ByteBuffer | |
| pack-priv static HTTP2Loader | create(WebPage webPage, ByteBufferPool byteBufferPool, boolean asynchronous, String url, String method, String headers, FormDataElement[] formDataElements, long data)
Creates a new |
| private HttpResponse. | |
| private HttpResponse. | |
| private InputStream | |
| private Void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| private HttpResponse. | |
| private static String | |
| private static long | |
| private static String | |
| private String[] | |
| private ByteBuffer | |
| private HttpRequest. | |
| private static String | |
| private String[] | |
| private boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private URI | |
| private void | |
| private void |
| asynchronous | back to summary |
|---|---|
| private final boolean asynchronous | |
| BUFFER | back to summary |
|---|---|
| private static final ByteBuffer BUFFER | |
| canceled | back to summary |
|---|---|
| private volatile boolean canceled | |
| data | back to summary |
|---|---|
| private final long data | |
| DEFAULT_BUFSIZE | back to summary |
|---|---|
| private static final int DEFAULT_BUFSIZE | |
| formDataElements | back to summary |
|---|---|
| private FormDataElement[] formDataElements | |
| headers | back to summary |
|---|---|
| private final String headers | |
| HTTP_CLIENT | back to summary |
|---|---|
| private static final HttpClient HTTP_CLIENT | |
| logger | back to summary |
|---|---|
| private static final PlatformLogger logger | |
| method | back to summary |
|---|---|
| private String method | |
| response | back to summary |
|---|---|
| private final CompletableFuture<Void> response | |
| url | back to summary |
|---|---|
| private String url | |
| webPage | back to summary |
|---|---|
| private final WebPage webPage | |
| HTTP2Loader | back to summary |
|---|---|
| private HTTP2Loader(WebPage webPage, ByteBufferPool byteBufferPool, boolean asynchronous, String url, String method, String headers, FormDataElement[] formDataElements, long data) | |
| callBackIfNotCanceled | back to summary |
|---|---|
| private void callBackIfNotCanceled(final Runnable r) | |
| copyToDirectBuffer | back to summary |
|---|---|
| private ByteBuffer copyToDirectBuffer(final ByteBuffer bb) | |
| create | back to summary |
|---|---|
| pack-priv static HTTP2Loader create(WebPage webPage, ByteBufferPool byteBufferPool, boolean asynchronous, String url, String method, String headers, FormDataElement[] formDataElements, long data) Creates a new | |
| createNormalBodySubscriber | back to summary |
|---|---|
| private HttpResponse. | |
| createZIPEncodedBodySubscriber | back to summary |
|---|---|
| private HttpResponse. | |
| createZIPStream | back to summary |
|---|---|
| private InputStream createZIPStream(final String type, InputStream in) throws IOException | |
| didFail | back to summary |
|---|---|
| private Void didFail(final Throwable th) | |
| didFinishLoading | back to summary |
|---|---|
| private void didFinishLoading() | |
| didReceiveData | back to summary |
|---|---|
| private void didReceiveData(final byte[] bytes, int size) | |
| didReceiveData | back to summary |
|---|---|
| private void didReceiveData(final List<ByteBuffer> bytes) | |
| didReceiveResponse | back to summary |
|---|---|
| private void didReceiveResponse(final HttpResponse. | |
| didSendData | back to summary |
|---|---|
| private void didSendData(final long totalBytesSent, final long totalBytesToBeSent) | |
| fwkCancel | back to summary |
|---|---|
| public void fwkCancel() Implements abstract com. Cancels this loader.
| |
| getBodySubscriber | back to summary |
|---|---|
| private HttpResponse. | |
| getContentEncoding | back to summary |
|---|---|
| private static String getContentEncoding(final HttpResponse. | |
| getContentLength | back to summary |
|---|---|
| private static long getContentLength(final HttpResponse. | |
| getContentType | back to summary |
|---|---|
| private static String getContentType(final HttpResponse. | |
| getCustomHeaders | back to summary |
|---|---|
| private String[] getCustomHeaders() | |
| getDirectBuffer | back to summary |
|---|---|
| private ByteBuffer getDirectBuffer(int size) | |
| getFormDataPublisher | back to summary |
|---|---|
| private HttpRequest. | |
| getHeadersAsString | back to summary |
|---|---|
| private static String getHeadersAsString(final HttpResponse. | |
| getRequestHeaders | back to summary |
|---|---|
| private String[] getRequestHeaders() | |
| handleRedirectionIfNeeded | back to summary |
|---|---|
| private boolean handleRedirectionIfNeeded(final HttpResponse. | |
| notifyDidFail | back to summary |
|---|---|
| private void notifyDidFail(int errorCode, String url, String message) | |
| notifyDidFinishLoading | back to summary |
|---|---|
| private void notifyDidFinishLoading() | |
| notifyDidReceiveData | back to summary |
|---|---|
| private void notifyDidReceiveData(ByteBuffer byteBuffer) | |
| notifyDidSendData | back to summary |
|---|---|
| private void notifyDidSendData(long totalBytesSent, long totalBytesToBeSent) | |
| toURI | back to summary |
|---|---|
| private URI toURI() throws MalformedURLException | |
| waitForRequestToComplete | back to summary |
|---|---|
| private void waitForRequestToComplete() | |
| willSendRequest | back to summary |
|---|---|
| private void willSendRequest(final HttpResponse. | |