public class ServletRestApiResponseAdapter extends Object implements RestApiResponseAdapter
Constructor and Description |
---|
ServletRestApiResponseAdapter(javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
void |
noContent() |
void |
setHeader(String name,
String value) |
void |
writeBytes(byte[] bytes) |
public ServletRestApiResponseAdapter(javax.servlet.http.HttpServletResponse response)
public void setHeader(String name, String value)
setHeader
in interface RestApiResponseAdapter
public void writeBytes(byte[] bytes) throws IOException
writeBytes
in interface RestApiResponseAdapter
IOException
public void noContent()
noContent
in interface RestApiResponseAdapter
Apache Camel