Package io.vertx.mutiny.ext.web
Class ParsedHeaderValues
- java.lang.Object
-
- io.vertx.mutiny.ext.web.ParsedHeaderValues
-
public class ParsedHeaderValues extends Object
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
original
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ParsedHeaderValues>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description ParsedHeaderValues(io.vertx.ext.web.ParsedHeaderValues delegate)
ParsedHeaderValues(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MIMEHeader>
accept()
List<ParsedHeaderValue>
acceptCharset()
List<ParsedHeaderValue>
acceptEncoding()
List<LanguageHeader>
acceptLanguage()
MIMEHeader
contentType()
boolean
equals(Object o)
io.vertx.ext.web.ParsedHeaderValues
getDelegate()
int
hashCode()
static ParsedHeaderValues
newInstance(io.vertx.ext.web.ParsedHeaderValues arg)
String
toString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ParsedHeaderValues> __TYPE_ARG
-
-
Constructor Detail
-
ParsedHeaderValues
public ParsedHeaderValues(io.vertx.ext.web.ParsedHeaderValues delegate)
-
ParsedHeaderValues
public ParsedHeaderValues(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.ParsedHeaderValues getDelegate()
-
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)
-
-