Package org.apache.camel.spi
Interface HttpResponseAware
-
public interface HttpResponseAwareRepresents an object which is aware of HTTP responses.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHttpResponseCode()The HTTP status codeStringgetHttpResponseStatus()The HTTP status linevoidsetHttpResponseCode(int code)Sets the HTTP status codevoidsetHttpResponseStatus(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
-
-