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, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface org.apache.pekko.http.javadsl.server.MalformedHeaderRejection
getCauseMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods 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:
headerNamein interfaceMalformedHeaderRejection
-
errorMsg
- Specified by:
errorMsgin interfaceMalformedHeaderRejection
-
cause
- Specified by:
causein interfaceRejectionWithOptionalCause
-