Interface InfoReceiver

    • Method Detail

      • executeInfoRequest

        String executeInfoRequest​(URI infoUrl,
                                  @Nullable
                                  HttpHeaders headers)
        Perform an HTTP request to the SockJS "Info" URL. and return the resulting JSON response content, or raise an exception.

        Note that as of 4.2 this method accepts a headers parameter.

        Parameters:
        infoUrl - the URL to obtain SockJS server information from
        headers - the headers to use for the request
        Returns:
        the body of the response