Package org.apache.camel.spi
Interface HttpResponseAware
-
public interface HttpResponseAware
Represents an object which is aware of HTTP responses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getHttpResponseCode()
The HTTP status codeString
getHttpResponseStatus()
The HTTP status linevoid
setHttpResponseCode(int code)
Sets the HTTP status codevoid
setHttpResponseStatus(String status)
Sets the HTTP status line
-
-
-
Method Detail
-
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
void setHttpResponseStatus(String status)
Sets the HTTP status line
-
-