< prev index next >

src/java.base/share/classes/java/net/SocketImpl.java

Print this page

        

*** 394,404 **** /** * Called to set a socket option. * * @implSpec * The default implementation of this method first checks that the given ! * socket option {@code name} is not null, then throws {@code * UnsupportedOperationException}. Subclasses should override this method * with an appropriate implementation. * * @param <T> The type of the socket option value * @param name The socket option --- 394,404 ---- /** * Called to set a socket option. * * @implSpec * The default implementation of this method first checks that the given ! * socket option {code name} is not null, then throws {@code * UnsupportedOperationException}. Subclasses should override this method * with an appropriate implementation. * * @param <T> The type of the socket option value * @param name The socket option
*** 422,432 **** /** * Called to get a socket option. * * @implSpec * The default implementation of this method first checks that the given ! * socket option {@code name} is not null, then throws {@code * UnsupportedOperationException}. Subclasses should override this method * with an appropriate implementation. * * @param <T> The type of the socket option value * @param name The socket option --- 422,432 ---- /** * Called to get a socket option. * * @implSpec * The default implementation of this method first checks that the given ! * socket option {code name} is not null, then throws {@code * UnsupportedOperationException}. Subclasses should override this method * with an appropriate implementation. * * @param <T> The type of the socket option value * @param name The socket option
< prev index next >