public class HeaderData extends ParamData
Constructor and Description |
---|
HeaderData(String name,
DataValue<?> value,
String mediaType,
boolean valid)
Creates a new HeaderData instance.
|
HeaderData(String name,
MessageData headerData)
Creates a new HeaderData instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
hashCode() |
void |
setLocation(ParamDef.Location location)
Changes the location of the header value.
|
void |
setStyle(String style)
Changes the serialization style of the header value.
|
String |
toString() |
getLocation, getName, getStyle, isExploded, setExploded
getEncodings, getMediaType, getType, getValue, isValid, setEncodings
public HeaderData(String name, MessageData headerData)
public void setLocation(ParamDef.Location location)
setLocation
in class ParamData
public void setStyle(String style)
Copyright © 2024 The Cornutum Project. All rights reserved.