XmlRpcLite14HttpTransportFactory.java
Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one
00003  * or more contributor license agreements.  See the NOTICE file
00004  * distributed with this work for additional information
00005  * regarding copyright ownership.  The ASF licenses this file
00006  * to you under the Apache License, Version 2.0 (the
00007  * "License"); you may not use this file except in compliance
00008  * with the License.  You may obtain a copy of the License at
00009  *
00010  *   http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing,
00013  * software distributed under the License is distributed on an
00014  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
00015  * KIND, either express or implied.  See the License for the
00016  * specific language governing permissions and limitations
00017  * under the License.    
00018  */
00019 package org.apache.xmlrpc.client;
00020 
00021 import javax.net.ssl.SSLSocketFactory;
00022 
00023 
00028 public class XmlRpcLite14HttpTransportFactory extends XmlRpcLiteHttpTransportFactory {
00029     private SSLSocketFactory sslSocketFactory;
00030 
00035     public XmlRpcLite14HttpTransportFactory(XmlRpcClient pClient) {
00036         super(pClient);
00037     }
00038 
00042     public SSLSocketFactory getSSLSocketFactory() {
00043         return sslSocketFactory;
00044     }
00045 
00049     public void setSSLSocketFactory(SSLSocketFactory pSSLSocketFactory) {
00050         sslSocketFactory = pSSLSocketFactory;
00051     }
00052 
00053     public XmlRpcTransport getTransport() {
00054         XmlRpcLite14HttpTransport transport = new XmlRpcLite14HttpTransport(getClient());
00055         transport.setSSLSocketFactory(sslSocketFactory);
00056         return transport;
00057     }
00058 }


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:49