Package org.apache.camel.swagger
Class ExchangeRestApiResponseAdapter
- java.lang.Object
-
- org.apache.camel.swagger.ExchangeRestApiResponseAdapter
-
- All Implemented Interfaces:
RestApiResponseAdapter
@Deprecated public class ExchangeRestApiResponseAdapter extends Object implements RestApiResponseAdapter
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description ExchangeRestApiResponseAdapter(org.apache.camel.Exchange exchange)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
noContent()
Deprecated.void
setHeader(String name, String value)
Deprecated.void
writeBytes(byte[] bytes)
Deprecated.
-
-
-
Method Detail
-
setHeader
public void setHeader(String name, String value)
Deprecated.- Specified by:
setHeader
in interfaceRestApiResponseAdapter
-
writeBytes
public void writeBytes(byte[] bytes) throws IOException
Deprecated.- Specified by:
writeBytes
in interfaceRestApiResponseAdapter
- Throws:
IOException
-
noContent
public void noContent()
Deprecated.- Specified by:
noContent
in interfaceRestApiResponseAdapter
-
-