Class HttpMethod$
java.lang.Object
org.apache.pekko.http.scaladsl.model.HttpMethod$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HttpMethod$
Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a custom method by name and assumes properties conservatively to be safe = false, idempotent = false and requestEntityAcceptance = Expected.custom
(String name, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance)
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
HttpMethod$
public HttpMethod$()
-
-
Method Details
-
custom
public HttpMethod custom(String name, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance) -
custom
Creates a custom method by name and assumes properties conservatively to be safe = false, idempotent = false and requestEntityAcceptance = Expected.- Parameters:
name
- (undocumented)- Returns:
- (undocumented)
-