public static final class CorsRejection.InvalidMethod extends java.lang.Object implements CorsRejection.InvalidMethod, CorsRejection.Cause, scala.Product, java.io.Serializable
Constructor and Description |
---|
InvalidMethod(HttpMethod method) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description()
Description of this Cause in a human-readable format.
|
HttpMethod |
getMethod() |
HttpMethod |
method() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public InvalidMethod(HttpMethod method)
public HttpMethod method()
public java.lang.String description()
CorsRejection.Cause
description
in interface CorsRejection.Cause
public HttpMethod getMethod()
getMethod
in interface CorsRejection.InvalidMethod