Package io.vertx.mutiny.ext.web
Class MIMEHeader
java.lang.Object
io.vertx.mutiny.ext.web.MIMEHeader
- All Implemented Interfaces:
MutinyDelegate,ParsedHeaderValue
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<MIMEHeader>static final floatIf no "q" parameter is present, the default weight is 1.
-
Constructor Summary
ConstructorsConstructorDescriptionMIMEHeader(io.vertx.ext.web.MIMEHeader delegate) MIMEHeader(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.ext.web.MIMEHeaderinthashCode()booleanisMatchedBy(ParsedHeaderValue matchTry) booleanstatic MIMEHeadernewInstance(io.vertx.ext.web.MIMEHeader arg) rawValue()toString()value()floatweight()int
-
Field Details
-
__TYPE_ARG
-
DEFAULT_WEIGHT
public static final float DEFAULT_WEIGHTIf no "q" parameter is present, the default weight is 1.
- See Also:
-
-
Constructor Details
-
MIMEHeader
public MIMEHeader(io.vertx.ext.web.MIMEHeader delegate) -
MIMEHeader
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.MIMEHeader getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Specified by:
getDelegatein interfaceParsedHeaderValue- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
rawValue
- Specified by:
rawValuein interfaceParsedHeaderValue- Returns:
-
value
- Specified by:
valuein interfaceParsedHeaderValue- Returns:
-
weight
public float weight()- Specified by:
weightin interfaceParsedHeaderValue- Returns:
-
parameter
- Specified by:
parameterin interfaceParsedHeaderValue- Parameters:
key-- Returns:
-
parameters
- Specified by:
parametersin interfaceParsedHeaderValue- Returns:
- Unmodifiable Map of parameters of this header value
-
isPermitted
public boolean isPermitted()- Specified by:
isPermittedin interfaceParsedHeaderValue- Returns:
-
isMatchedBy
- Specified by:
isMatchedByin interfaceParsedHeaderValue- Parameters:
matchTry- The header to be matched from- Returns:
- true if this header represents a subset of matchTry, otherwise, false
-
weightedOrder
public int weightedOrder()- Specified by:
weightedOrderin interfaceParsedHeaderValue- Returns:
-
component
- Returns:
- The component of the MIME this represents
-
subComponent
- Returns:
- The subcomponent of the MIME this represents
-
newInstance
-