Class ObjectResponseAnnotation
- java.lang.Object
-
- net.officefloor.web.openapi.response.ObjectResponseAnnotation
-
public class ObjectResponseAnnotation extends java.lang.ObjectAnnotation 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.TypegetResponseType()Obtains the response type.intgetStatusCode()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.
-
-