summaryrefslogtreecommitdiff
path: root/platform/util-rt/src/com/intellij/execution/rmi/ssl/SslSocketFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/util-rt/src/com/intellij/execution/rmi/ssl/SslSocketFactory.java')
-rw-r--r--platform/util-rt/src/com/intellij/execution/rmi/ssl/SslSocketFactory.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/platform/util-rt/src/com/intellij/execution/rmi/ssl/SslSocketFactory.java b/platform/util-rt/src/com/intellij/execution/rmi/ssl/SslSocketFactory.java
index 3ce4efe55a98..dfbdf74068be 100644
--- a/platform/util-rt/src/com/intellij/execution/rmi/ssl/SslSocketFactory.java
+++ b/platform/util-rt/src/com/intellij/execution/rmi/ssl/SslSocketFactory.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2000-2014 JetBrains s.r.o.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.intellij.execution.rmi.ssl;
import com.intellij.openapi.util.text.StringUtilRt;
@@ -47,18 +62,22 @@ public class SslSocketFactory extends SSLSocketFactory {
myFactory = ctx.getSocketFactory();
}
+ @NotNull
public Socket createSocket(InetAddress host, int port) throws IOException {
return myFactory.createSocket(host, port);
}
+ @NotNull
public Socket createSocket(String host, int port) throws IOException {
return myFactory.createSocket(host, port);
}
+ @NotNull
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException {
return myFactory.createSocket(host, port, localHost, localPort);
}
+ @NotNull
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException {
return myFactory.createSocket(address, port, localAddress, localPort);
}
@@ -67,10 +86,12 @@ public class SslSocketFactory extends SSLSocketFactory {
return myFactory.createSocket(socket, host, port, autoClose);
}
+ @NotNull
public String[] getDefaultCipherSuites() {
return myFactory.getDefaultCipherSuites();
}
+ @NotNull
public String[] getSupportedCipherSuites() {
return myFactory.getSupportedCipherSuites();
}