Class MalformedHeaderRejection
java.lang.Object
org.apache.pekko.http.scaladsl.server.MalformedHeaderRejection
- All Implemented Interfaces:
Serializable
,MalformedHeaderRejection
,Rejection
,Rejection
,RejectionWithOptionalCause
,scala.Equals
,scala.Product
public final class MalformedHeaderRejection
extends Object
implements MalformedHeaderRejection, RejectionWithOptionalCause, scala.Product, Serializable
Rejection created by header directives.
Signals that the request was rejected because a header value is malformed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMalformedHeaderRejection
(String headerName, String errorMsg, scala.Option<Throwable> cause) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface org.apache.pekko.http.javadsl.server.MalformedHeaderRejection
getCause
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
Methods inherited from interface org.apache.pekko.http.scaladsl.server.RejectionWithOptionalCause
getCause
-
Constructor Details
-
MalformedHeaderRejection
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3) -
toString
-
headerName
- Specified by:
headerName
in interfaceMalformedHeaderRejection
-
errorMsg
- Specified by:
errorMsg
in interfaceMalformedHeaderRejection
-
cause
- Specified by:
cause
in interfaceRejectionWithOptionalCause
-