public class RemoteAmbariStreamProvider extends Object implements org.apache.ambari.view.AmbariStreamProvider
| Constructor and Description |
|---|
RemoteAmbariStreamProvider(String baseUrl,
String username,
String password,
int connectTimeout,
int readTimeout) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
readFrom(String path,
String requestMethod,
InputStream body,
Map<String,String> headers) |
InputStream |
readFrom(String path,
String requestMethod,
String body,
Map<String,String> headers) |
public InputStream readFrom(String path, String requestMethod, String body, Map<String,String> headers) throws IOException, org.apache.ambari.view.AmbariHttpException
readFrom in interface org.apache.ambari.view.AmbariStreamProviderIOExceptionorg.apache.ambari.view.AmbariHttpExceptionpublic InputStream readFrom(String path, String requestMethod, InputStream body, Map<String,String> headers) throws IOException, org.apache.ambari.view.AmbariHttpException
readFrom in interface org.apache.ambari.view.AmbariStreamProviderIOExceptionorg.apache.ambari.view.AmbariHttpExceptionCopyright © 2022 Apache Software Foundation. All rights reserved.