Constructor and Description |
---|
ResponseHeader(int status,
Map<String,String> headers) |
ResponseHeader(int status,
Map<String,String> headers,
String reasonPhrase) |
Modifier and Type | Method and Description |
---|---|
play.api.mvc.ResponseHeader |
asScala() |
Optional<String> |
getHeader(String headerName) |
Map<String,String> |
headers() |
Optional<String> |
reasonPhrase() |
int |
status() |
ResponseHeader |
withHeader(String name,
String value) |
ResponseHeader |
withHeaders(Map<String,String> newHeaders) |
ResponseHeader |
withoutHeader(String name) |
public play.api.mvc.ResponseHeader asScala()
public int status()
public ResponseHeader withoutHeader(String name)
public ResponseHeader withHeader(String name, String value)
public ResponseHeader withHeaders(Map<String,String> newHeaders)