Interface HTTPVersion

All Known Implementing Classes:
HTTPVersions

public interface HTTPVersion
  • Method Details

    • getName

      @NotNull @NotNull String getName()
      The first part of the version. For example in "HTTP/1.1" it would be "HTTP"
      Returns:
      name as String
    • getVersion

      @NotNull @NotNull String getVersion()
      The first part of the version. For example in "HTTP/1.1" it would be "1.1"
      Returns:
      version as String
    • asString

      @NotNull default @NotNull String asString()
      This HTTPVersion as String. For example "HTTP/1.1"
      Returns:
      this HTTPVersion as String.