Package org.eclipse.jetty.server
Class ProxyConnectionFactory.ProxyEndPoint
- java.lang.Object
-
- org.eclipse.jetty.util.AttributesMap
-
- org.eclipse.jetty.server.ProxyConnectionFactory.ProxyEndPoint
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,EndPoint,org.eclipse.jetty.util.Attributes,org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
- ProxyConnectionFactory
public static class ProxyConnectionFactory.ProxyEndPoint extends org.eclipse.jetty.util.AttributesMap implements EndPoint
-
-
Constructor Summary
Constructors Constructor Description ProxyEndPoint(EndPoint endp, java.net.InetSocketAddress remote, java.net.InetSocketAddress local)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intfill(java.nio.ByteBuffer buffer)voidfillInterested(org.eclipse.jetty.util.Callback callback)booleanflush(java.nio.ByteBuffer... buffer)ConnectiongetConnection()longgetCreatedTimeStamp()longgetIdleTimeout()java.net.InetSocketAddressgetLocalAddress()java.net.InetSocketAddressgetRemoteAddress()java.lang.ObjectgetTransport()booleanisFillInterested()booleanisInputShutdown()booleanisOpen()booleanisOptimizedForDirectBuffers()booleanisOutputShutdown()voidonClose()voidonOpen()voidsetConnection(Connection connection)voidsetIdleTimeout(long idleTimeout)voidshutdownOutput()java.lang.StringtoString()booleantryFillInterested(org.eclipse.jetty.util.Callback callback)voidupgrade(Connection newConnection)voidwrite(org.eclipse.jetty.util.Callback callback, java.nio.ByteBuffer... buffers)-
Methods inherited from class org.eclipse.jetty.util.AttributesMap
addAll, clearAttributes, dump, dump, getAttribute, getAttributeEntrySet, getAttributeNames, getAttributeNamesCopy, getAttributeNameSet, removeAttribute, setAttribute, size
-
-
-
-
Constructor Detail
-
ProxyEndPoint
public ProxyEndPoint(EndPoint endp, java.net.InetSocketAddress remote, java.net.InetSocketAddress local)
-
-
Method Detail
-
close
public void close()
-
fill
public int fill(java.nio.ByteBuffer buffer) throws java.io.IOException
-
fillInterested
public void fillInterested(org.eclipse.jetty.util.Callback callback) throws java.nio.channels.ReadPendingException- Specified by:
fillInterestedin interfaceEndPoint- Throws:
java.nio.channels.ReadPendingException
-
flush
public boolean flush(java.nio.ByteBuffer... buffer) throws java.io.IOException
-
getConnection
public Connection getConnection()
- Specified by:
getConnectionin interfaceEndPoint
-
setConnection
public void setConnection(Connection connection)
- Specified by:
setConnectionin interfaceEndPoint
-
getCreatedTimeStamp
public long getCreatedTimeStamp()
- Specified by:
getCreatedTimeStampin interfaceEndPoint
-
getIdleTimeout
public long getIdleTimeout()
- Specified by:
getIdleTimeoutin interfaceEndPoint
-
setIdleTimeout
public void setIdleTimeout(long idleTimeout)
- Specified by:
setIdleTimeoutin interfaceEndPoint
-
getLocalAddress
public java.net.InetSocketAddress getLocalAddress()
- Specified by:
getLocalAddressin interfaceEndPoint
-
getRemoteAddress
public java.net.InetSocketAddress getRemoteAddress()
- Specified by:
getRemoteAddressin interfaceEndPoint
-
getTransport
public java.lang.Object getTransport()
- Specified by:
getTransportin interfaceEndPoint
-
isFillInterested
public boolean isFillInterested()
- Specified by:
isFillInterestedin interfaceEndPoint
-
isInputShutdown
public boolean isInputShutdown()
- Specified by:
isInputShutdownin interfaceEndPoint
-
isOptimizedForDirectBuffers
public boolean isOptimizedForDirectBuffers()
- Specified by:
isOptimizedForDirectBuffersin interfaceEndPoint
-
isOutputShutdown
public boolean isOutputShutdown()
- Specified by:
isOutputShutdownin interfaceEndPoint
-
shutdownOutput
public void shutdownOutput()
- Specified by:
shutdownOutputin interfaceEndPoint
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.jetty.util.AttributesMap
-
tryFillInterested
public boolean tryFillInterested(org.eclipse.jetty.util.Callback callback)
- Specified by:
tryFillInterestedin interfaceEndPoint
-
upgrade
public void upgrade(Connection newConnection)
-
-