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 SummaryConstructorsConstructorDescriptionMalformedHeaderRejection(String headerName, String errorMsg, scala.Option<Throwable> cause) 
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.EqualscanEqual, equalsMethods inherited from interface org.apache.pekko.http.javadsl.server.MalformedHeaderRejectiongetCauseMethods inherited from interface scala.ProductproductArity, productElement, productElementName, productElementNames, productIterator, productPrefixMethods inherited from interface org.apache.pekko.http.scaladsl.server.RejectionWithOptionalCausegetCause
- 
Constructor Details- 
MalformedHeaderRejection
 
- 
- 
Method Details- 
applypublic abstract static R apply(T1 v1, T2 v2, T3 v3) 
- 
toString
- 
headerName- Specified by:
- headerNamein interface- MalformedHeaderRejection
 
- 
errorMsg- Specified by:
- errorMsgin interface- MalformedHeaderRejection
 
- 
cause- Specified by:
- causein interface- RejectionWithOptionalCause
 
 
-