- All Known Subinterfaces:
- All Known Implementing Classes:
public interface InfoReceiver
A component that can execute the SockJS "Info" request that needs to be performed before the SockJS session starts in order to check server endpoint capabilities such as whether the endpoint permits use of WebSocket.
XhrTransport implementations are also implementations
of this contract.
- Rossen Stoyanchev
- See Also:
executeInfoRequestPerform 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
infoUrl- the URL to obtain SockJS server information from
headers- the headers to use for the request
- the body of the response