Interface HttpMediaType

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String toHttpMediaType​()
      Returns the HTTP media type: It consists of the Media-Top-Level-Type and the Media-Subtype as well as some (optional) suffixed parameters all being concatenated in an HTTP valid manner, such as: "application/json;charset=UTF-8".
    • Method Detail

      • toHttpMediaType

        String toHttpMediaType​()
        Returns the HTTP media type: It consists of the Media-Top-Level-Type and the Media-Subtype as well as some (optional) suffixed parameters all being concatenated in an HTTP valid manner, such as: "application/json;charset=UTF-8".
        Specified by:
        toHttpMediaType in interface HttpMediaTypeAccessor.HttpMediaTypeProvider<RuntimeException>
        Returns:
        The HTTP header Media-Type as of the IANA specification.