java.io.Closeable, java.lang.AutoCloseable, org.eclipse.jetty.io.EndPointpublic static class ProxyConnectionFactory.ProxyEndPoint
extends java.lang.Object
implements org.eclipse.jetty.io.EndPoint
| Constructor | Description |
|---|---|
ProxyEndPoint(org.eclipse.jetty.io.EndPoint endp,
java.net.InetSocketAddress remote,
java.net.InetSocketAddress local) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
int |
fill(java.nio.ByteBuffer buffer) |
|
void |
fillInterested(org.eclipse.jetty.util.Callback callback) |
|
boolean |
flush(java.nio.ByteBuffer... buffer) |
|
org.eclipse.jetty.io.Connection |
getConnection() |
|
long |
getCreatedTimeStamp() |
|
long |
getIdleTimeout() |
|
java.net.InetSocketAddress |
getLocalAddress() |
|
java.net.InetSocketAddress |
getRemoteAddress() |
|
java.lang.Object |
getTransport() |
|
boolean |
isFillInterested() |
|
boolean |
isInputShutdown() |
|
boolean |
isOpen() |
|
boolean |
isOptimizedForDirectBuffers() |
|
boolean |
isOutputShutdown() |
|
void |
onClose() |
|
void |
onOpen() |
|
void |
setConnection(org.eclipse.jetty.io.Connection connection) |
|
void |
setIdleTimeout(long idleTimeout) |
|
void |
shutdownOutput() |
|
boolean |
tryFillInterested(org.eclipse.jetty.util.Callback callback) |
|
void |
upgrade(org.eclipse.jetty.io.Connection newConnection) |
|
void |
write(org.eclipse.jetty.util.Callback callback,
java.nio.ByteBuffer... buffers) |
public ProxyEndPoint(org.eclipse.jetty.io.EndPoint endp,
java.net.InetSocketAddress remote,
java.net.InetSocketAddress local)
public boolean isOptimizedForDirectBuffers()
isOptimizedForDirectBuffers in interface org.eclipse.jetty.io.EndPointpublic java.net.InetSocketAddress getLocalAddress()
getLocalAddress in interface org.eclipse.jetty.io.EndPointpublic java.net.InetSocketAddress getRemoteAddress()
getRemoteAddress in interface org.eclipse.jetty.io.EndPointpublic boolean isOpen()
isOpen in interface org.eclipse.jetty.io.EndPointpublic long getCreatedTimeStamp()
getCreatedTimeStamp in interface org.eclipse.jetty.io.EndPointpublic void shutdownOutput()
shutdownOutput in interface org.eclipse.jetty.io.EndPointpublic boolean isOutputShutdown()
isOutputShutdown in interface org.eclipse.jetty.io.EndPointpublic boolean isInputShutdown()
isInputShutdown in interface org.eclipse.jetty.io.EndPointpublic void close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableclose in interface org.eclipse.jetty.io.EndPointpublic int fill(java.nio.ByteBuffer buffer)
throws java.io.IOException
fill in interface org.eclipse.jetty.io.EndPointjava.io.IOExceptionpublic boolean flush(java.nio.ByteBuffer... buffer)
throws java.io.IOException
flush in interface org.eclipse.jetty.io.EndPointjava.io.IOExceptionpublic java.lang.Object getTransport()
getTransport in interface org.eclipse.jetty.io.EndPointpublic long getIdleTimeout()
getIdleTimeout in interface org.eclipse.jetty.io.EndPointpublic void setIdleTimeout(long idleTimeout)
setIdleTimeout in interface org.eclipse.jetty.io.EndPointpublic void fillInterested(org.eclipse.jetty.util.Callback callback)
throws java.nio.channels.ReadPendingException
fillInterested in interface org.eclipse.jetty.io.EndPointjava.nio.channels.ReadPendingExceptionpublic boolean tryFillInterested(org.eclipse.jetty.util.Callback callback)
tryFillInterested in interface org.eclipse.jetty.io.EndPointpublic boolean isFillInterested()
isFillInterested in interface org.eclipse.jetty.io.EndPointpublic void write(org.eclipse.jetty.util.Callback callback,
java.nio.ByteBuffer... buffers)
throws java.nio.channels.WritePendingException
write in interface org.eclipse.jetty.io.EndPointjava.nio.channels.WritePendingExceptionpublic org.eclipse.jetty.io.Connection getConnection()
getConnection in interface org.eclipse.jetty.io.EndPointpublic void setConnection(org.eclipse.jetty.io.Connection connection)
setConnection in interface org.eclipse.jetty.io.EndPointpublic void onOpen()
onOpen in interface org.eclipse.jetty.io.EndPointpublic void onClose()
onClose in interface org.eclipse.jetty.io.EndPointpublic void upgrade(org.eclipse.jetty.io.Connection newConnection)
upgrade in interface org.eclipse.jetty.io.EndPointCopyright © 1995–2018 Webtide. All rights reserved.