Interface RawHttpCodec

All Known Implementing Classes:
InnerHttp

public interface RawHttpCodec
  • Method Details

    • httpVersion

      HttpClient.Version httpVersion()
    • getHttpVersionString

      default String getHttpVersionString()
    • encode

      String encode(HttpBRequest request)
      Encode the given command to a String representing an HTTP-Request according to RFC standards. This encoded "inner-HTTP Request" will then be encrypted VAU and transported as an "outer-HTTP Request"
      Parameters:
      request - holding the internal data of the "inner-HTTP Request"
      Returns:
      the VauRequest encoded as plain string representing the HTTP-Request according to RFC
      See Also:
    • decode

      default HttpBResponse decode(String b64RawResponse)
    • decode

      HttpBResponse decode(byte[] rawResponse)