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, waitpublic InvalidMethod(HttpMethod method)
public HttpMethod method()
public java.lang.String description()
CorsRejection.Causedescription in interface CorsRejection.Causepublic HttpMethod getMethod()
getMethod in interface CorsRejection.InvalidMethod