public class GrizzlyWriter extends Writer
| Constructor and Description | 
|---|
| GrizzlyWriter(org.glassfish.grizzly.Connection connection) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| boolean | equals(java.lang.Object obj) | 
| int | hashCode() | 
| java.lang.String | toString() | 
| void | write(java.nio.ByteBuffer buffer,
     CompletionHandler<java.nio.ByteBuffer> completionHandler)
 A backward compatible method called from  Writer.write(ByteBuffer, CompletionHandler, WriterInfo)to handover the data for a connection
 to the transport. | 
public void write(java.nio.ByteBuffer buffer,
                  CompletionHandler<java.nio.ByteBuffer> completionHandler)
Writer
 A 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.
public void close()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2012–2020 Oracle Corporation. All rights reserved.