public class HeaderDescriptor extends AbstractDescriptor
Descriptor for header information.HTTP_METHOD_DELETE, HTTP_METHOD_GET, HTTP_METHOD_HEAD, HTTP_METHOD_OPTIONS, HTTP_METHOD_PATCH, HTTP_METHOD_POST, HTTP_METHOD_PUT, LOCATION_BODY, LOCATION_COOKIE, LOCATION_FORM_DATA, LOCATION_HEADER, LOCATION_PATH, LOCATION_QUERY, SCHEME_HTTP, SCHEME_HTTPS, SCHEME_WS, SCHEME_WSS, STATUS_CODE_BAD_REQUEST, STATUS_CODE_CONFLICT, STATUS_CODE_FORBIDDEN, STATUS_CODE_INTERNAL_SERVER_ERROR, STATUS_CODE_NO_CONTENT, STATUS_CODE_SUCCESS, STATUS_CODE_UNAUTHORIZED| Constructor and Description |
|---|
HeaderDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getFormat() |
String |
getJavaScriptType() |
void |
setDescription(String description) |
void |
setFormat(String format) |
void |
setJavaScriptType(String type) |
notNullpublic String getDescription()
public void setDescription(String description)
description - is the description to setpublic String getJavaScriptType()
public void setJavaScriptType(String type)
type - is the type to setpublic String getFormat()
public void setFormat(String format)
format - is the format to setCopyright © 2015–2021 MojoHaus. All rights reserved.