Class StitchAppRequestClientImpl

    • Constructor Detail

      • StitchAppRequestClientImpl

        public StitchAppRequestClientImpl​(String clientAppId,
                                          String baseUrl,
                                          Transport transport,
                                          Long defaultRequestTimeout)
    • Method Detail

      • doRequest

        public Response doRequest​(StitchRequest stitchReq)
        Performs a request against a Stitch app server determined by the deployment model of the underlying app. Throws a Stitch specific exception if the request fails.
        Parameters:
        stitchReq - the request to perform.
        Returns:
        a Response to the request.
      • doStreamRequest

        public EventStream doStreamRequest​(StitchRequest stitchReq)
        Performs a streaming request against a Stitch app server determined by the deployment model of the underlying app. Throws a Stitch specific exception if the request fails.
        Parameters:
        stitchReq - the request to perform.
        Returns:
        an EventStream that will provide response events.