src/java.base/share/classes/java/net/SocketImpl.java
changeset 55346 730ed3fc6605
parent 55102 59567035d279
child 58242 94bb65cb37d3
equal deleted inserted replaced
55345:492b644bb9c2 55346:730ed3fc6605
   394     /**
   394     /**
   395      * Called to set a socket option.
   395      * Called to set a socket option.
   396      *
   396      *
   397      * @implSpec
   397      * @implSpec
   398      * The default implementation of this method first checks that the given
   398      * The default implementation of this method first checks that the given
   399      * socket option {code name} is not null, then throws {@code
   399      * socket option {@code name} is not null, then throws {@code
   400      * UnsupportedOperationException}. Subclasses should override this method
   400      * UnsupportedOperationException}. Subclasses should override this method
   401      * with an appropriate implementation.
   401      * with an appropriate implementation.
   402      *
   402      *
   403      * @param <T> The type of the socket option value
   403      * @param <T> The type of the socket option value
   404      * @param name The socket option
   404      * @param name The socket option
   422     /**
   422     /**
   423      * Called to get a socket option.
   423      * Called to get a socket option.
   424      *
   424      *
   425      * @implSpec
   425      * @implSpec
   426      * The default implementation of this method first checks that the given
   426      * The default implementation of this method first checks that the given
   427      * socket option {code name} is not null, then throws {@code
   427      * socket option {@code name} is not null, then throws {@code
   428      * UnsupportedOperationException}. Subclasses should override this method
   428      * UnsupportedOperationException}. Subclasses should override this method
   429      * with an appropriate implementation.
   429      * with an appropriate implementation.
   430      *
   430      *
   431      * @param <T> The type of the socket option value
   431      * @param <T> The type of the socket option value
   432      * @param name The socket option
   432      * @param name The socket option