comparison src/org/eclipse/jetty/server/ssl/SslCertificates.java @ 1018:4dc1e1a18661

remove HttpSchemes
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 24 Oct 2016 05:37:24 -0600
parents 1c0b6841cd32
children
comparison
equal deleted inserted replaced
1017:d2c3ff33387c 1018:4dc1e1a18661
24 24
25 import javax.net.ssl.SSLPeerUnverifiedException; 25 import javax.net.ssl.SSLPeerUnverifiedException;
26 import javax.net.ssl.SSLSession; 26 import javax.net.ssl.SSLSession;
27 import javax.net.ssl.SSLSocket; 27 import javax.net.ssl.SSLSocket;
28 28
29 import org.eclipse.jetty.http.HttpSchemes;
30 import org.eclipse.jetty.io.EndPoint; 29 import org.eclipse.jetty.io.EndPoint;
31 import org.eclipse.jetty.server.Request; 30 import org.eclipse.jetty.server.Request;
32 import org.eclipse.jetty.util.TypeUtil; 31 import org.eclipse.jetty.util.TypeUtil;
33 import org.slf4j.Logger; 32 import org.slf4j.Logger;
34 import org.slf4j.LoggerFactory; 33 import org.slf4j.LoggerFactory;
100 * @param request 99 * @param request
101 * HttpRequest to be customised. 100 * HttpRequest to be customised.
102 */ 101 */
103 public static void customize(SSLSession sslSession, EndPoint endpoint, Request request) throws IOException 102 public static void customize(SSLSession sslSession, EndPoint endpoint, Request request) throws IOException
104 { 103 {
105 request.setScheme(HttpSchemes.HTTPS); 104 request.setScheme("https");
106 105
107 try 106 try
108 { 107 {
109 String cipherSuite=sslSession.getCipherSuite(); 108 String cipherSuite=sslSession.getCipherSuite();
110 Integer keySize; 109 Integer keySize;