Package org.teiid.translator.swagger
Class SwaggerResponse
- java.lang.Object
-
- org.teiid.translator.swagger.SwaggerResponse
-
public class SwaggerResponse extends Object
-
-
Constructor Summary
Constructors Constructor Description SwaggerResponse(InputStream payload, Map<String,Object> headers, SwaggerSerializer serializer, boolean mapResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getHeaders()
Map<String,Object>
getNext()
boolean
isMapResponse()
-
-
-
Constructor Detail
-
SwaggerResponse
public SwaggerResponse(InputStream payload, Map<String,Object> headers, SwaggerSerializer serializer, boolean mapResponse) throws TranslatorException
- Throws:
TranslatorException
-
-
Method Detail
-
getNext
public Map<String,Object> getNext() throws TranslatorException
- Throws:
TranslatorException
-
isMapResponse
public boolean isMapResponse()
-
-