Package play.http
Class HttpErrorInfo
- Object
-
- play.http.HttpErrorInfo
-
@ApiMayChange public abstract class HttpErrorInfo extends Object
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 Constructor Description HttpErrorInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract String
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.
-
-
-
Method Detail
-
origin
public abstract String 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.
-
-