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 void
close()
int
fill(java.nio.ByteBuffer buffer)
void
fillInterested(org.eclipse.jetty.util.Callback callback)
boolean
flush(java.nio.ByteBuffer... buffer)
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(Connection connection)
void
setIdleTimeout(long idleTimeout)
void
shutdownOutput()
java.lang.String
toString()
boolean
tryFillInterested(org.eclipse.jetty.util.Callback callback)
EndPoint
unwrap()
void
upgrade(Connection newConnection)
void
write(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
-
unwrap
public EndPoint unwrap()
-
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:
fillInterested
in interfaceEndPoint
- Throws:
java.nio.channels.ReadPendingException
-
flush
public boolean flush(java.nio.ByteBuffer... buffer) throws java.io.IOException
-
getConnection
public Connection getConnection()
- Specified by:
getConnection
in interfaceEndPoint
-
setConnection
public void setConnection(Connection connection)
- Specified by:
setConnection
in interfaceEndPoint
-
getCreatedTimeStamp
public long getCreatedTimeStamp()
- Specified by:
getCreatedTimeStamp
in interfaceEndPoint
-
getIdleTimeout
public long getIdleTimeout()
- Specified by:
getIdleTimeout
in interfaceEndPoint
-
setIdleTimeout
public void setIdleTimeout(long idleTimeout)
- Specified by:
setIdleTimeout
in interfaceEndPoint
-
getLocalAddress
public java.net.InetSocketAddress getLocalAddress()
- Specified by:
getLocalAddress
in interfaceEndPoint
-
getRemoteAddress
public java.net.InetSocketAddress getRemoteAddress()
- Specified by:
getRemoteAddress
in interfaceEndPoint
-
getTransport
public java.lang.Object getTransport()
- Specified by:
getTransport
in interfaceEndPoint
-
isFillInterested
public boolean isFillInterested()
- Specified by:
isFillInterested
in interfaceEndPoint
-
isInputShutdown
public boolean isInputShutdown()
- Specified by:
isInputShutdown
in interfaceEndPoint
-
isOptimizedForDirectBuffers
public boolean isOptimizedForDirectBuffers()
- Specified by:
isOptimizedForDirectBuffers
in interfaceEndPoint
-
isOutputShutdown
public boolean isOutputShutdown()
- Specified by:
isOutputShutdown
in interfaceEndPoint
-
shutdownOutput
public void shutdownOutput()
- Specified by:
shutdownOutput
in interfaceEndPoint
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.jetty.util.AttributesMap
-
tryFillInterested
public boolean tryFillInterested(org.eclipse.jetty.util.Callback callback)
- Specified by:
tryFillInterested
in interfaceEndPoint
-
upgrade
public void upgrade(Connection newConnection)
-
-