Interface Http1UpgradeResponse


public interface Http1UpgradeResponse
HTTP/1 response operations available to a routed protocol upgrade.
  • Method Details

    • headers

      Response headers.
      Returns:
      response headers
    • send

      void send(Status status)
      Send an empty response with the provided status.
      Parameters:
      status - response status
    • sendSwitchingProtocols

      void sendSwitchingProtocols(Headers requiredHeaders)
      Send the configured 101 Switching Protocols response.
      Parameters:
      requiredHeaders - protocol headers that must be present in the final response