< prev index next >

src/java.base/share/classes/java/nio/channels/AsynchronousSocketChannel.java

Print this page

        

*** 60,74 **** * will throw a {@link WritePendingException}. * * <p> Socket options are configured using the {@link #setOption(SocketOption,Object) * setOption} method. Asynchronous socket channels support the following options: * <blockquote> ! * <table border summary="Socket options"> * <tr> * <th>Option Name</th> * <th>Description</th> * </tr> * <tr> * <td> {@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF} </td> * <td> The size of the socket send buffer </td> * </tr> * <tr> --- 60,78 ---- * will throw a {@link WritePendingException}. * * <p> Socket options are configured using the {@link #setOption(SocketOption,Object) * setOption} method. Asynchronous socket channels support the following options: * <blockquote> ! * <table class="striped"> ! * <caption style="display:none">Socket options</caption> ! * <thead> * <tr> * <th>Option Name</th> * <th>Description</th> * </tr> + * </thead> + * <tbody> * <tr> * <td> {@link java.net.StandardSocketOptions#SO_SNDBUF SO_SNDBUF} </td> * <td> The size of the socket send buffer </td> * </tr> * <tr>
*** 85,94 **** --- 89,99 ---- * </tr> * <tr> * <td> {@link java.net.StandardSocketOptions#TCP_NODELAY TCP_NODELAY} </td> * <td> Disable the Nagle algorithm </td> * </tr> + * </tbody> * </table> * </blockquote> * Additional (implementation specific) options may also be supported. * * <h2>Timeouts</h2>
< prev index next >