Package org.apache.camel.spi
Interface HttpResponseAware
public interface HttpResponseAware
Represents an object which is aware of HTTP responses.
-
Method Summary
Modifier and TypeMethodDescriptionint
The HTTP status codeThe HTTP status linevoid
setHttpResponseCode
(int code) Sets the HTTP status codevoid
setHttpResponseStatus
(String status) Sets the HTTP status line
-
Method Details
-
getHttpResponseCode
int getHttpResponseCode()The HTTP status code -
setHttpResponseCode
void setHttpResponseCode(int code) Sets the HTTP status code -
getHttpResponseStatus
String getHttpResponseStatus()The HTTP status line -
setHttpResponseStatus
Sets the HTTP status line
-