Class HeaderDescriptor
java.lang.Object
org.codehaus.mojo.servicedocgen.descriptor.AbstractDescriptor
org.codehaus.mojo.servicedocgen.descriptor.HeaderDescriptor
- All Implemented Interfaces:
Descriptor
Descriptor for header information.- Author:
- hohwille
-
Field Summary
Fields inherited from interface Descriptor
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDescription(String description) voidvoidsetJavaScriptType(String type) Methods inherited from class AbstractDescriptor
notNull
-
Constructor Details
-
HeaderDescriptor
public HeaderDescriptor()
-
-
Method Details
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- is the description to set
-
getJavaScriptType
- Returns:
- the type
-
setJavaScriptType
- Parameters:
type- is the type to set
-
getFormat
- Returns:
- the format
-
setFormat
- Parameters:
format- is the format to set
-