Interface HttpClientPort

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit startUp(HttpClient client)
      abstract Unit shutDown()
      abstract Boolean started()
      abstract HttpResponsePort send(HttpRequestPort request)
      abstract Flow.Publisher<ServerEvent> sse(HttpRequestPort request)
      abstract WsSession ws(String path, Function1<WsSession, Unit> onConnect, Function2<WsSession, ByteArray, Unit> onBinary, Function2<WsSession, String, Unit> onText, Function2<WsSession, ByteArray, Unit> onPing, Function2<WsSession, ByteArray, Unit> onPong, Function3<WsSession, Integer, String, Unit> onClose)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • started

         abstract Boolean started()
      • send

         abstract HttpResponsePort send(HttpRequestPort request)
      • sse

         abstract Flow.Publisher<ServerEvent> sse(HttpRequestPort request)
      • ws

         abstract WsSession ws(String path, Function1<WsSession, Unit> onConnect, Function2<WsSession, ByteArray, Unit> onBinary, Function2<WsSession, String, Unit> onText, Function2<WsSession, ByteArray, Unit> onPing, Function2<WsSession, ByteArray, Unit> onPong, Function3<WsSession, Integer, String, Unit> onClose)