| Modifier and Type | Class and Description |
|---|---|
| private static class | NetworkContext.
Thread factory for URL loader threads. |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | BYTE_BUFFER_SIZE
The buffer size for the shared pool of byte buffers. |
| private static final ByteBufferPool | byteBufferPool
The shared pool of byte buffers. |
| private static final int | DEFAULT_HTTP2_MAX_CONNECTIONS
The default value of the maximum concurrent connections for new gen HTTP2 client |
| private static final int | DEFAULT_HTTP_MAX_CONNECTIONS
The default value of the "http.maxConnections" system property. |
| private static final PlatformLogger | |
| private static final long | THREAD_POOL_KEEP_ALIVE_TIME
The thread pool keep alive time. |
| private static final int | THREAD_POOL_SIZE
The size of the thread pool for asynchronous loaders. |
| private static final ThreadPoolExecutor | threadPool
The thread pool used to execute asynchronous loaders. |
| private static final boolean | useHTTP2Loader
Can use HTTP2Loader |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | Returns: true if we can handle the url. false
otherwise.the url)String containing the url to check.Checks whether a URL is valid or not. |
| private static int | fwkGetMaximumHTTPConnectionCountPerHost()
Returns the maximum allowed number of connections per host. |
| private static URLLoaderBase |
| BYTE_BUFFER_SIZE | back to summary |
|---|---|
| private static final int BYTE_BUFFER_SIZE The buffer size for the shared pool of byte buffers. | |
| byteBufferPool | back to summary |
|---|---|
| private static final ByteBufferPool byteBufferPool The shared pool of byte buffers. | |
| DEFAULT_HTTP2_MAX_CONNECTIONS | back to summary |
|---|---|
| private static final int DEFAULT_HTTP2_MAX_CONNECTIONS The default value of the maximum concurrent connections for new gen HTTP2 client | |
| DEFAULT_HTTP_MAX_CONNECTIONS | back to summary |
|---|---|
| private static final int DEFAULT_HTTP_MAX_CONNECTIONS The default value of the "http.maxConnections" system property. | |
| logger | back to summary |
|---|---|
| private static final PlatformLogger logger | |
| THREAD_POOL_KEEP_ALIVE_TIME | back to summary |
|---|---|
| private static final long THREAD_POOL_KEEP_ALIVE_TIME The thread pool keep alive time. | |
| THREAD_POOL_SIZE | back to summary |
|---|---|
| private static final int THREAD_POOL_SIZE The size of the thread pool for asynchronous loaders. | |
| threadPool | back to summary |
|---|---|
| private static final ThreadPoolExecutor threadPool The thread pool used to execute asynchronous loaders. | |
| useHTTP2Loader | back to summary |
|---|---|
| private static final boolean useHTTP2Loader Can use HTTP2Loader | |
| NetworkContext | back to summary |
|---|---|
| private NetworkContext() Non-invocable constructor. | |
| canHandleURL | back to summary |
|---|---|
| private static boolean canHandleURL(String url) Checks whether a URL is valid or not. I.E. if we do have a protocol handler to deal with it.
| |
| fwkGetMaximumHTTPConnectionCountPerHost | back to summary |
|---|---|
| private static int fwkGetMaximumHTTPConnectionCountPerHost() Returns the maximum allowed number of connections per host. | |
| fwkLoad | back to summary |
|---|---|
| private static URLLoaderBase fwkLoad(WebPage webPage, boolean asynchronous, String url, String method, String headers, FormDataElement[] formDataElements, long data) Starts an asynchronous load or executes a synchronous one. | |
| Modifier and Type | Field and Description |
|---|---|
| private final ThreadGroup | |
| private final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Thread | newThread(Runnable r)
Implements java. Constructs a new unstarted |
| group | back to summary |
|---|---|
| private final ThreadGroup group | |
| index | back to summary |
|---|---|
| private final AtomicInteger index | |
| URLLoaderThreadFactory | back to summary |
|---|---|
| private URLLoaderThreadFactory() | |
| newThread | back to summary |
|---|---|
| public Thread newThread(Runnable r) Implements java. Doc from java. Constructs a new unstarted
| |