@Override
  public InputStream readFrom(String path, String requestMethod, String body, Map<String, String> headers
                              ) throws IOException, AmbariHttpException {
    return getInputStream(path, requestMethod, headers, body == null ? null : body.getBytes());
  }
Construct a view Ambari stream provider.

@param streamProvider        the underlying stream provider
@param ambariSessionManager  the Ambari session manager
@param controller         the Ambari configuration

@throws IllegalStateException if the Ambari stream provider can not be created
ambari-server/src/main/java/org/apache/ambari/server/view/ViewAmbariStreamProvider.java