Class HTTP2StreamEndPoint
java.lang.Object
org.eclipse.jetty.http2.HTTP2StreamEndPoint
- All Implemented Interfaces:
Closeable, AutoCloseable, org.eclipse.jetty.io.Content.Sink, org.eclipse.jetty.io.EndPoint, org.eclipse.jetty.util.thread.Invocable
public abstract class HTTP2StreamEndPoint
extends Object
implements org.eclipse.jetty.io.EndPoint, org.eclipse.jetty.util.thread.Invocable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.EndPoint
org.eclipse.jetty.io.EndPoint.Pipe, org.eclipse.jetty.io.EndPoint.SslSessionData, org.eclipse.jetty.io.EndPoint.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
org.eclipse.jetty.util.thread.Invocable.Callable, org.eclipse.jetty.util.thread.Invocable.InvocationType, org.eclipse.jetty.util.thread.Invocable.ReadyTask, org.eclipse.jetty.util.thread.Invocable.Task -
Field Summary
Fields inherited from interface org.eclipse.jetty.io.EndPoint
EOFFields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking, NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.util.CallbackcancelWrite(Throwable cause) voidintfill(ByteBuffer sink) voidfillInterested(org.eclipse.jetty.util.Callback callback) booleanflush(ByteBuffer... buffers) org.eclipse.jetty.io.Connectionlonglongorg.eclipse.jetty.util.thread.Invocable.InvocationTypebooleanbooleanbooleanisOpen()booleanvoidvoidonOpen()protected voidprotected voidprocessFailure(Throwable failure) voidsetConnection(org.eclipse.jetty.io.Connection connection) voidsetIdleTimeout(long idleTimeout) voidtoString()booleantryFillInterested(org.eclipse.jetty.util.Callback callback) voidupgrade(org.eclipse.jetty.io.Connection newConnection) voidwrite(org.eclipse.jetty.util.Callback callback, ByteBuffer... buffers) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.io.EndPoint
close, getSslSessionData, isSecure, receive, send, write, write
-
Constructor Details
-
HTTP2StreamEndPoint
-
-
Method Details
-
getLocalSocketAddress
- Specified by:
getLocalSocketAddressin interfaceorg.eclipse.jetty.io.EndPoint
-
getRemoteSocketAddress
- Specified by:
getRemoteSocketAddressin interfaceorg.eclipse.jetty.io.EndPoint
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceorg.eclipse.jetty.io.EndPoint
-
getCreatedTimeStamp
public long getCreatedTimeStamp()- Specified by:
getCreatedTimeStampin interfaceorg.eclipse.jetty.io.EndPoint
-
shutdownOutput
public void shutdownOutput()- Specified by:
shutdownOutputin interfaceorg.eclipse.jetty.io.EndPoint
-
isOutputShutdown
public boolean isOutputShutdown()- Specified by:
isOutputShutdownin interfaceorg.eclipse.jetty.io.EndPoint
-
isInputShutdown
public boolean isInputShutdown()- Specified by:
isInputShutdownin interfaceorg.eclipse.jetty.io.EndPoint
-
close
- Specified by:
closein interfaceorg.eclipse.jetty.io.EndPoint
-
fill
- Specified by:
fillin interfaceorg.eclipse.jetty.io.EndPoint- Throws:
IOException
-
flush
- Specified by:
flushin interfaceorg.eclipse.jetty.io.EndPoint- Throws:
IOException
-
getTransport
- Specified by:
getTransportin interfaceorg.eclipse.jetty.io.EndPoint
-
getIdleTimeout
public long getIdleTimeout()- Specified by:
getIdleTimeoutin interfaceorg.eclipse.jetty.io.EndPoint
-
setIdleTimeout
public void setIdleTimeout(long idleTimeout) - Specified by:
setIdleTimeoutin interfaceorg.eclipse.jetty.io.EndPoint
-
fillInterested
- Specified by:
fillInterestedin interfaceorg.eclipse.jetty.io.EndPoint- Throws:
ReadPendingException
-
tryFillInterested
public boolean tryFillInterested(org.eclipse.jetty.util.Callback callback) - Specified by:
tryFillInterestedin interfaceorg.eclipse.jetty.io.EndPoint
-
isFillInterested
public boolean isFillInterested()- Specified by:
isFillInterestedin interfaceorg.eclipse.jetty.io.EndPoint
-
write
public void write(org.eclipse.jetty.util.Callback callback, ByteBuffer... buffers) throws WritePendingException - Specified by:
writein interfaceorg.eclipse.jetty.io.EndPoint- Throws:
WritePendingException
-
cancelWrite
- Specified by:
cancelWritein interfaceorg.eclipse.jetty.io.EndPoint
-
getConnection
public org.eclipse.jetty.io.Connection getConnection()- Specified by:
getConnectionin interfaceorg.eclipse.jetty.io.EndPoint
-
setConnection
public void setConnection(org.eclipse.jetty.io.Connection connection) - Specified by:
setConnectionin interfaceorg.eclipse.jetty.io.EndPoint
-
onOpen
public void onOpen()- Specified by:
onOpenin interfaceorg.eclipse.jetty.io.EndPoint
-
onClose
- Specified by:
onClosein interfaceorg.eclipse.jetty.io.EndPoint
-
upgrade
public void upgrade(org.eclipse.jetty.io.Connection newConnection) - Specified by:
upgradein interfaceorg.eclipse.jetty.io.EndPoint
-
processDataAvailable
protected void processDataAvailable() -
processFailure
-
getInvocationType
public org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()- Specified by:
getInvocationTypein interfaceorg.eclipse.jetty.util.thread.Invocable
-
toString
-