接口 InfoReceiver

    • 方法详细资料

      • executeInfoRequest

        String executeInfoRequest​(URI infoUrl,
                                  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.

        参数:
        infoUrl - the URL to obtain SockJS server information from
        headers - the headers to use for the request
        返回:
        the body of the response