StringHeader.java
public class StringHeader
A class that contains necessary nested header classes
- a class that extends SchemaHeader/ContentHeader and is used to deserialize the header value
| Modifier and Type | Class and Description |
|---|---|
| static class | StringHeader.StringHeader1 class that deserializes a header |
public static class StringHeader1 implements Header
a class that deserializes a header value
| Constructor and Description |
|---|
| StringHeader1() Creates an instance |
| Modifier and Type | Field and Description |
|---|---|
| boolean | required = true whether the header is required |
| @Nullable ParameterStyle | ParameterStyle.SIMPLE |
| @Nullable Boolean explode | false |
| @Nullable Boolean allowReserved | null |
| JsonSchema<?> | schema = StringHeaderSchema.StringHeaderSchema1().getInstance() |
| Modifier and Type | Method and Description |
|---|---|
| HttpHeaders | serialize(@Nullable Object inData, String name, boolean validate, SchemaConfiguration configuration) |
| @Nullable Object | deserialize(List<String> inData, boolean validate, SchemaConfiguration configuration) deserializes the header value |