Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Latest commit

 

History

History
40 lines (30 loc) · 1.62 KB

File metadata and controls

40 lines (30 loc) · 1.62 KB

StringHeader

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

Nested Class Summary

Modifier and Type Class and Description
static class StringHeader.StringHeader1
class that deserializes a header

StringHeader1

public static class StringHeader1 implements Header

a class that deserializes a header value

Constructor Summary

Constructor and Description
StringHeader1()
Creates an instance

Field Summary

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()

Method Summary

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

[Back to top] [Back to Component Headers] [Back to README]