Interface WsConnector

All Known Implementing Classes:
HttpConnector

public interface WsConnector
Since:
5.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Server base URL, always with trailing slash, for instance "http://localhost:9000/"
    call(WsRequest wsRequest)
     
  • Method Details

    • baseUrl

      String baseUrl()
      Server base URL, always with trailing slash, for instance "http://localhost:9000/"
    • call

      WsResponse call(WsRequest wsRequest)
      Throws:
      IllegalStateException - if the request could not be executed due to a connectivity problem or timeout. Because networks can fail during an exchange, it is possible that the remote server accepted the request before the failure