public class MarkableEndPoint extends Object implements org.eclipse.jetty.io.EndPoint
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
fill(ByteBuffer dst) |
void |
fillInterested(org.eclipse.jetty.util.Callback callback) |
boolean |
flush(ByteBuffer... buffer) |
org.eclipse.jetty.io.Connection |
getConnection() |
long |
getCreatedTimeStamp() |
long |
getIdleTimeout() |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
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,
ByteBuffer... buffers) |
public InetSocketAddress getLocalAddress()
getLocalAddress in interface org.eclipse.jetty.io.EndPointpublic 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 Closeableclose in interface AutoCloseableclose in interface org.eclipse.jetty.io.EndPointpublic boolean flush(ByteBuffer... buffer) throws IOException
flush in interface org.eclipse.jetty.io.EndPointIOExceptionpublic 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 ReadPendingException
fillInterested in interface org.eclipse.jetty.io.EndPointReadPendingExceptionpublic 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,
ByteBuffer... buffers)
throws WritePendingException
write in interface org.eclipse.jetty.io.EndPointWritePendingExceptionpublic 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 boolean isOptimizedForDirectBuffers()
isOptimizedForDirectBuffers in interface org.eclipse.jetty.io.EndPointpublic void upgrade(org.eclipse.jetty.io.Connection newConnection)
upgrade in interface org.eclipse.jetty.io.EndPointpublic int fill(ByteBuffer dst) throws IOException
fill in interface org.eclipse.jetty.io.EndPointIOExceptionCopyright © 2006–2020 The Apache Software Foundation. All rights reserved.