private class UndertowXhrTransport.UndertowXnioBufferSupport extends java.lang.Object implements UndertowXhrTransport.UndertowBufferSupport
Modifier and Type | Field and Description |
---|---|
private java.lang.reflect.Method |
httpClientConnectCallbackMethod |
private java.lang.reflect.Method |
httpClientConnectMethod |
private <any> |
xnioBufferPool |
Constructor and Description |
---|
UndertowXnioBufferSupport() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
allocatePooledResource() |
void |
closePooledResource(java.lang.Object pooled) |
java.nio.ByteBuffer |
getByteBuffer(java.lang.Object pooled) |
void |
httpClientConnect(UndertowClient httpClient,
<any> listener,
java.net.URI uri,
XnioWorker worker,
OptionMap options) |
<any> |
httpClientConnect(UndertowClient httpClient,
java.net.URI uri,
XnioWorker worker,
OptionMap options) |
private final <any> xnioBufferPool
private final java.lang.reflect.Method httpClientConnectCallbackMethod
private final java.lang.reflect.Method httpClientConnectMethod
public java.lang.Object allocatePooledResource()
allocatePooledResource
in interface UndertowXhrTransport.UndertowBufferSupport
public java.nio.ByteBuffer getByteBuffer(java.lang.Object pooled)
getByteBuffer
in interface UndertowXhrTransport.UndertowBufferSupport
public void closePooledResource(java.lang.Object pooled)
closePooledResource
in interface UndertowXhrTransport.UndertowBufferSupport
public void httpClientConnect(UndertowClient httpClient, <any> listener, java.net.URI uri, XnioWorker worker, OptionMap options)
httpClientConnect
in interface UndertowXhrTransport.UndertowBufferSupport
public <any> httpClientConnect(UndertowClient httpClient, java.net.URI uri, XnioWorker worker, OptionMap options)
httpClientConnect
in interface UndertowXhrTransport.UndertowBufferSupport