Package play.mvc
Class ResponseHeader
- Object
-
- play.mvc.ResponseHeader
-
-
Constructor Summary
Constructors Constructor Description ResponseHeader(int status, Map<String,String> headers)
ResponseHeader(int status, Map<String,String> headers, String reasonPhrase)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
asScala
public play.api.mvc.ResponseHeader asScala()
-
status
public int status()
-
withoutHeader
public ResponseHeader withoutHeader(String name)
-
withHeader
public ResponseHeader withHeader(String name, String value)
-
withHeaders
public ResponseHeader withHeaders(Map<String,String> newHeaders)
-
-