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:
Closeable,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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
org.eclipse.jetty.util.Attributes.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer -
Field Summary
Fields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
ConstructorsConstructorDescriptionProxyEndPoint(EndPoint endp, InetSocketAddress remote, InetSocketAddress local) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intfill(ByteBuffer buffer) voidfillInterested(org.eclipse.jetty.util.Callback callback) booleanflush(ByteBuffer... buffer) longlongbooleanbooleanbooleanisOpen()booleanbooleanvoidonClose()voidonOpen()voidsetConnection(Connection connection) voidsetIdleTimeout(long idleTimeout) voidtoString()booleantryFillInterested(org.eclipse.jetty.util.Callback callback) unwrap()voidupgrade(Connection newConnection) voidwrite(org.eclipse.jetty.util.Callback callback, ByteBuffer... buffers) Methods inherited from class org.eclipse.jetty.util.AttributesMap
addAll, clearAttributes, dump, dump, getAttribute, getAttributeEntrySet, getAttributeNames, getAttributeNamesCopy, getAttributeNameSet, removeAttribute, setAttribute, sizeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dumpSelf
-
Constructor Details
-
ProxyEndPoint
-
-
Method Details
-
unwrap
-
close
public void close() -
fill
- Specified by:
fillin interfaceEndPoint- Throws:
IOException
-
fillInterested
- Specified by:
fillInterestedin interfaceEndPoint- Throws:
ReadPendingException
-
flush
- Specified by:
flushin interfaceEndPoint- Throws:
IOException
-
getConnection
- Specified by:
getConnectionin interfaceEndPoint
-
setConnection
- 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
- Specified by:
getLocalAddressin interfaceEndPoint
-
getRemoteAddress
- Specified by:
getRemoteAddressin interfaceEndPoint
-
getTransport
- Specified by:
getTransportin interfaceEndPoint
-
isFillInterested
public boolean isFillInterested()- Specified by:
isFillInterestedin interfaceEndPoint
-
isInputShutdown
public boolean isInputShutdown()- Specified by:
isInputShutdownin interfaceEndPoint
-
isOpen
public boolean isOpen() -
isOptimizedForDirectBuffers
public boolean isOptimizedForDirectBuffers()- Specified by:
isOptimizedForDirectBuffersin interfaceEndPoint
-
isOutputShutdown
public boolean isOutputShutdown()- Specified by:
isOutputShutdownin interfaceEndPoint
-
onClose
public void onClose() -
onOpen
public void onOpen() -
shutdownOutput
public void shutdownOutput()- Specified by:
shutdownOutputin interfaceEndPoint
-
toString
- Overrides:
toStringin classorg.eclipse.jetty.util.AttributesMap
-
tryFillInterested
public boolean tryFillInterested(org.eclipse.jetty.util.Callback callback) - Specified by:
tryFillInterestedin interfaceEndPoint
-
upgrade
-
write
public void write(org.eclipse.jetty.util.Callback callback, ByteBuffer... buffers) throws WritePendingException - Specified by:
writein interfaceEndPoint- Throws:
WritePendingException
-