public final class HttpResources extends TcpResources
DEFAULT_POOL_ACQUIRE_TIMEOUT, DEFAULT_POOL_MAX_CONNECTIONDEFAULT_IO_SELECT_COUNT, DEFAULT_IO_WORKER_COUNT| Modifier and Type | Method and Description |
|---|---|
static HttpResources |
get()
Return the global HTTP resources for event loops and pooling
|
static HttpResources |
reset()
Reset http resources to default and return its instance
|
static HttpResources |
set(LoopResources loops)
Update pooling resources and return the global HTTP resources
|
static HttpResources |
set(PoolResources pools)
Update event loops resources and return the global HTTP resources
|
_dispose, daemon, dispose, getOrCreate, onChannel, onClient, onDatagramChannel, onServer, onServerChannel, onServerSelect, preferNative, selectOrCreateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitelastic, fixed, fixed, fixedcolocate, create, create, createisDisposedpublic static HttpResources get()
public static HttpResources set(PoolResources pools)
public static HttpResources set(LoopResources loops)
public static HttpResources reset()