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