Interface HttpResponseAware
public interface HttpResponseAware
Represents an object which is aware of HTTP responses.
- Since:
- 3.14
-
Method Summary
Modifier and TypeMethodDescriptionintThe HTTP status code@Nullable StringThe HTTP status linevoidsetHttpResponseCode(int code) Sets the HTTP status codevoidsetHttpResponseStatus(@Nullable 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
@Nullable String getHttpResponseStatus()The HTTP status line -
setHttpResponseStatus
Sets the HTTP status line
-