public class EncodingObject extends Object
EncodingObjectBuilder
Modifier and Type | Field and Description |
---|---|
boolean |
allowReserved
Deprecated.
Use
allowReserved() instead |
String |
contentType
Deprecated.
Use
contentType() instead |
boolean |
explode
Deprecated.
Use
explode() instead |
Map<String,HeaderObject> |
headers
Deprecated.
Use
headers() instead |
String |
style
Deprecated.
Use
style() instead |
Modifier and Type | Method and Description |
---|---|
boolean |
allowReserved() |
String |
contentType() |
boolean |
explode() |
Map<String,HeaderObject> |
headers() |
String |
style() |
void |
writeJson(Writer writer)
Writes this object as a JSON Object
|
@Deprecated public final String contentType
contentType()
instead@Deprecated public final Map<String,HeaderObject> headers
headers()
instead@Deprecated public final String style
style()
instead@Deprecated public final boolean explode
explode()
instead@Deprecated public final boolean allowReserved
allowReserved()
insteadpublic void writeJson(Writer writer) throws IOException
writer
- The writer to write toIOException
- Thrown if the writer throws this while writingpublic String contentType()
EncodingObjectBuilder.withContentType(java.lang.String)
public Map<String,HeaderObject> headers()
EncodingObjectBuilder.withHeaders(java.util.Map<java.lang.String, io.muserver.openapi.HeaderObject>)
public String style()
EncodingObjectBuilder.withStyle(java.lang.String)
public boolean explode()
EncodingObjectBuilder.withExplode(boolean)
public boolean allowReserved()
EncodingObjectBuilder.withAllowReserved(boolean)
Copyright © 2017–2021. All rights reserved.