Package play.mvc.results
Class Unauthorized
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- play.utils.FastRuntimeException
-
- play.mvc.results.Result
-
- play.mvc.results.Unauthorized
-
- All Implemented Interfaces:
java.io.Serializable
public class Unauthorized extends Result
401 Unauthorized- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Unauthorized(java.lang.String realm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Http.Request request, Http.Response response)
java.lang.String
getRealm()
-
Methods inherited from class play.mvc.results.Result
getEncoding, setContentTypeIfNotSet
-
Methods inherited from class play.utils.FastRuntimeException
fillInStackTrace
-
-
-
-
Method Detail
-
apply
public void apply(Http.Request request, Http.Response response)
-
getRealm
public java.lang.String getRealm()
-
-