Package play.http
Class HttpErrorInfo
java.lang.Object
play.http.HttpErrorInfo
Used as request attribute which gets attached to the request that gets passed to an error
handler. Contains additional information useful for handling an error.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HttpErrorInfo
public HttpErrorInfo()
-
-
Method Details
-
origin
The origin of where the error handler was initially called.
Play currently adds following values:server-backend- The error handler was called in either the Netty or Pekko-HTTP server backend.csrf-filter- The error handler was called in CSRF filter code.csp-filter- The error handler was called in CSP filter code.allowed-hosts-filter- The error handler was called in Allowed hosts filter code.
-