Class Scheme

java.lang.Object
com.linecorp.armeria.common.Scheme
All Implemented Interfaces:
Comparable<Scheme>

public final class Scheme extends Object implements Comparable<Scheme>
A pair of SerializationFormat and SessionProtocol.

A Scheme is represented and used as the scheme of a URI in the following format:


 SerializationFormat.uriText() + '+' + SessionProtocol.uriText()
 

For example:

  • "tbinary+https"
  • "tcompact+h2c"
  • "none+http"