Class GrizzlyWriter
java.lang.Object
org.glassfish.tyrus.spi.Writer
org.glassfish.tyrus.container.grizzly.client.GrizzlyWriter
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- Author:
- Pavel Bucek
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()booleaninthashCode()toString()voidwrite(ByteBuffer buffer, CompletionHandler<ByteBuffer> completionHandler) A backward compatible method called fromWriter.write(ByteBuffer, CompletionHandler, WriterInfo)to handover the data for a connection to the transport.
- 
Constructor Details- 
GrizzlyWriterpublic GrizzlyWriter(org.glassfish.grizzly.Connection connection) 
 
- 
- 
Method Details- 
writeDescription copied from class:WriterA backward compatible method called from Writer.write(ByteBuffer, CompletionHandler, WriterInfo)to handover the data for a connection to the transport. The transport writes bytes to underlying connection. Tyrus runtime must not use the buffer until the write is completed.The method will be removed in the next major version. 
- 
closepublic void close()
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-