class JsonErrorHandler extends backend.http.JsonErrorHandler
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.0) Use uk.gov.hmrc.play.bootstrap.backend.http.JsonErrorHandler instead
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonErrorHandler
- JsonErrorHandler
- BackendHeaderCarrierProvider
- HttpErrorHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new JsonErrorHandler(auditConnector: AuditConnector, httpAuditEvent: HttpAuditEvent, configuration: Configuration)(implicit ec: ExecutionContext)
- Annotations
- @Inject()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- implicit def hc(implicit request: RequestHeader): HeaderCarrier
- Attributes
- protected
- Definition Classes
- BackendHeaderCarrierProvider
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def onClientError(request: RequestHeader, statusCode: Int, message: String): Future[Result]
- Definition Classes
- JsonErrorHandler → HttpErrorHandler
- def onServerError(request: RequestHeader, ex: Throwable): Future[Result]
- Definition Classes
- JsonErrorHandler → HttpErrorHandler
- val suppress4xxErrorMessages: Boolean
- Attributes
- protected
- Definition Classes
- JsonErrorHandler
- val suppress5xxErrorMessages: Boolean
- Attributes
- protected
- Definition Classes
- JsonErrorHandler
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val upstreamWarnStatuses: Seq[Int]
upstreamWarnStatusesis used to determine the log level for exceptions relating to a HttpResponse.upstreamWarnStatusesis used to determine the log level for exceptions relating to a HttpResponse. You can set this value in your config as a list of integers representing response codes that should log at a warning level rather an error level.e.g. bootstrap.errorHandler.warnOnly.statusCodes=[400,404,502]
This is used to reduce the number of noise the number of duplicated alerts for a microservice.
- Attributes
- protected
- Definition Classes
- JsonErrorHandler
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)