< prev index next >

src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpsConfigurator.java

Print this page

        

@@ -40,12 +40,12 @@
  * https connection on a HttpsServer. Applications need to override
  * the {@link #configure(HttpsParameters)} method in order to change
  * the default configuration.
  * <p>
  * The following <a name="example">example</a> shows how this may be done:
- * <p>
- * <pre><blockquote>
+ *
+ * <blockquote><pre>
  * SSLContext sslContext = SSLContext.getInstance (....);
  * HttpsServer server = HttpsServer.create();
  *
  * server.setHttpsConfigurator (new HttpsConfigurator(sslContext) {
  *     public void configure (HttpsParameters params) {

@@ -62,11 +62,11 @@
  *         }
  *
  *         params.setSSLParameters(sslparams);
  *     }
  * });
- * </blockquote></pre>
+ * </pre></blockquote>
  * @since 1.6
  */
 @jdk.Exported
 public class HttpsConfigurator {
 

@@ -100,11 +100,11 @@
     * {@link HttpsParameters#setSSLParameters(SSLParameters)}
     * in order to set the SSL parameters for the connection.
     * <p>
     * The default implementation of this method uses the
     * SSLParameters returned from <p>
-    * <code>getSSLContext().getDefaultSSLParameters()</code>
+    * {@code getSSLContext().getDefaultSSLParameters()}
     * <p>
     * configure() may be overridden in order to modify this behavior.
     * See, the example <a href="#example">above</a>.
     * @param params the HttpsParameters to be configured.
     *
< prev index next >