Class ObjectResponseAnnotation
- java.lang.Object
-
- net.officefloor.web.openapi.response.ObjectResponseAnnotation
-
public class ObjectResponseAnnotation extends java.lang.Object
Annotation providing details ofObjectResponse
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description ObjectResponseAnnotation(int statusCode, java.lang.reflect.Type responseType)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.reflect.Type
getResponseType()
Obtains the response type.int
getStatusCode()
Obtains the status code.
-
-
-
Constructor Detail
-
ObjectResponseAnnotation
public ObjectResponseAnnotation(int statusCode, java.lang.reflect.Type responseType)
Instantiate.- Parameters:
statusCode
- Status code forHttpResponse
.responseType
- Response type.
-
-