protected ViewURLStreamProvider createURLStreamProvider(ViewContext viewContext) {
    ComponentSSLConfiguration sslConfiguration = ComponentSSLConfiguration.instance();
    org.apache.ambari.server.controller.internal.URLStreamProvider streamProvider =
        new org.apache.ambari.server.controller.internal.URLStreamProvider(
            configuration.getRequestConnectTimeout(),
            configuration.getRequestReadTimeout(),
            sslConfiguration.getTruststorePath(),
            sslConfiguration.getTruststorePassword(),
            sslConfiguration.getTruststoreType());
    return new ViewURLStreamProvider(viewContext, streamProvider);
  }
Factory method to create a view URL stream provider.

@param viewContext the view context
@return a new view URL stream provider
ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java