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.

See Also:
  • ParsedHeaderValues
  • Field Details

  • Constructor Details

    • ParsedHeaderValues

      public ParsedHeaderValues(io.vertx.ext.web.ParsedHeaderValues delegate)
      Create a new instance of ParsedHeaderValues delegating to the given (non-null) instance of ParsedHeaderValues.
    • ParsedHeaderValues

      public ParsedHeaderValues(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.ParsedHeaderValues getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • 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 delegate)
      Creates a new instance of the ParsedHeaderValues.
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object