1 18 package org.apache.activemq.transport.https; 19 20 import java.io.IOException ; 21 import java.net.MalformedURLException ; 22 import java.net.URI ; 23 24 import org.apache.activemq.transport.Transport; 25 import org.apache.activemq.transport.TransportServer; 26 import org.apache.activemq.transport.http.HttpTransportFactory; 27 import org.apache.activemq.wireformat.WireFormat; 28 29 34 public class HttpsTransportFactory extends HttpTransportFactory { 35 36 public TransportServer doBind(String brokerId, URI location) throws IOException { 37 return new HttpsTransportServer(location); 38 } 39 40 protected Transport createTransport(URI location, WireFormat wf) throws MalformedURLException { 41 return new HttpsTransport(asTextWireFormat(wf), location); 42 } 43 44 } 45 | Popular Tags |