Class ParsedHeaderValues

java.lang.Object
io.vertx.mutiny.ext.web.ParsedHeaderValues
All Implemented Interfaces:
MutinyDelegate

public class ParsedHeaderValues extends Object implements MutinyDelegate
A container with the request's headers that are meaningful enough to be parsed Contains:
  • Accept -> MIME header, parameters and sortable
  • Accept-Charset -> Parameters and sortable
  • Accept-Encoding -> Parameters and sortable
  • Accept-Language -> Parameters and sortable
  • Content-Type -> MIME header and parameters

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • ParsedHeaderValues

      public ParsedHeaderValues(io.vertx.ext.web.ParsedHeaderValues delegate)
    • ParsedHeaderValues

      public ParsedHeaderValues(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.ParsedHeaderValues getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • accept

      public List<MIMEHeader> accept()
      Returns:
      List of MIME values in the Accept header
    • acceptCharset

      public List<ParsedHeaderValue> acceptCharset()
      Returns:
      List of charset values in the Accept-Charset header
    • acceptEncoding

      public List<ParsedHeaderValue> acceptEncoding()
      Returns:
      List of encofing values in the Accept-Encoding header
    • acceptLanguage

      public List<LanguageHeader> acceptLanguage()
      Returns:
      List of languages in the Accept-Language header
    • contentType

      public MIMEHeader contentType()
      Returns:
      MIME value in the Content-Type header
    • newInstance

      public static ParsedHeaderValues newInstance(io.vertx.ext.web.ParsedHeaderValues arg)