Tabnine Logo
SSLOption.getSslCustomClass
Code IndexAdd Tabnine to your IDE (free)

How to use
getSslCustomClass
method
in
io.servicecomb.foundation.ssl.SSLOption

Best Java code snippets using io.servicecomb.foundation.ssl.SSLOption.getSslCustomClass (Showing top 4 results out of 315)

origin: io.servicecomb/service-registry

 protected void buildSecureClientOptions(HttpClientOptions httpClientOptions) {
  SSLOptionFactory factory =
    SSLOptionFactory.createSSLOptionFactory(SSL_KEY, null);
  SSLOption sslOption;
  if (factory == null) {
   sslOption = SSLOption.buildFromYaml(SSL_KEY);
  } else {
   sslOption = factory.createSSLOption();
  }
  SSLCustom sslCustom = SSLCustom.createSSLCustom(sslOption.getSslCustomClass());
  VertxTLSBuilder.buildHttpClientOptions(sslOption, sslCustom, httpClientOptions);
 }
}
origin: io.servicecomb/foundation-vertx

 sslOption = factory.createSSLOption();
SSLCustom sslCustom = SSLCustom.createSSLCustom(sslOption.getSslCustomClass());
NetServerOptions serverOptions = new NetServerOptions();
VertxTLSBuilder.buildNetServerOptions(sslOption, sslCustom, serverOptions);
origin: io.servicecomb/transport-rest-client

private HttpClientOptions createHttpClientOptions() {
 HttpClientOptions httpClientOptions = new HttpClientOptions();
 httpClientOptions.setMaxPoolSize(TransportClientConfig.getConnectionMaxPoolSize());
 httpClientOptions.setIdleTimeout(TransportClientConfig.getConnectionIdleTimeoutInSeconds());
 httpClientOptions.setKeepAlive(TransportClientConfig.getConnectionKeepAlive());
 if (this.sslEnabled) {
  SSLOptionFactory factory =
    SSLOptionFactory.createSSLOptionFactory(SSL_KEY,
      null);
  SSLOption sslOption;
  if (factory == null) {
   sslOption = SSLOption.buildFromYaml(SSL_KEY);
  } else {
   sslOption = factory.createSSLOption();
  }
  SSLCustom sslCustom = SSLCustom.createSSLCustom(sslOption.getSslCustomClass());
  VertxTLSBuilder.buildHttpClientOptions(sslOption, sslCustom, httpClientOptions);
 }
 return httpClientOptions;
}
origin: io.servicecomb/transport-rest-vertx

 private HttpServerOptions createDefaultHttpServerOptions() {
  HttpServerOptions serverOptions = new HttpServerOptions();
  serverOptions.setAcceptBacklog(ACCEPT_BACKLOG);
  serverOptions.setSendBufferSize(SEND_BUFFER_SIZE);
  serverOptions.setReceiveBufferSize(RECEIVE_BUFFER_SIZE);
  serverOptions.setUsePooledBuffers(true);
  serverOptions.setIdleTimeout(TransportConfig.getConnectionIdleTimeoutInSeconds());

  if (endpointObject.isSslEnabled()) {
   SSLOptionFactory factory =
     SSLOptionFactory.createSSLOptionFactory(SSL_KEY, null);
   SSLOption sslOption;
   if (factory == null) {
    sslOption = SSLOption.buildFromYaml(SSL_KEY);
   } else {
    sslOption = factory.createSSLOption();
   }
   SSLCustom sslCustom = SSLCustom.createSSLCustom(sslOption.getSslCustomClass());
   VertxTLSBuilder.buildNetServerOptions(sslOption, sslCustom, serverOptions);
  }

  return serverOptions;
 }
}
io.servicecomb.foundation.sslSSLOptiongetSslCustomClass

Popular methods of SSLOption

  • buildFromYaml
  • getCiphers
  • getCrl
  • getKeyStore
  • getKeyStoreType
  • getKeyStoreValue
  • getProtocols
  • getTrustStore
  • getTrustStoreType
  • getTrustStoreValue
  • isAuthPeer
  • isCheckCNHost
  • isAuthPeer,
  • isCheckCNHost,
  • <init>,
  • fromProperty,
  • getBooleanProperty,
  • getCheckCNWhiteFile,
  • getStorePath,
  • getStringProperty,
  • ignore

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • startActivity (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now