Package akka.http.scaladsl.model
Class HttpMethod$
- java.lang.Object
-
- akka.http.scaladsl.model.HttpMethod$
-
- All Implemented Interfaces:
java.io.Serializable
public class HttpMethod$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static HttpMethod$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description HttpMethod$()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description HttpMethod
custom(java.lang.String name)
Creates a custom method by name and assumes properties conservatively to be safe = false, idempotent = false, requestEntityAcceptance = Expected and contentLengthAllowed always true.HttpMethod
custom(java.lang.String name, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance)
Deprecated.The created method will compute the presence of Content-Length headers based on deprecated logic (before issue #4213).HttpMethod
custom(java.lang.String name, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance, boolean contentLengthAllowed)
Create a custom method type.
-
-
-
Field Detail
-
MODULE$
public static final HttpMethod$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
custom
public HttpMethod custom(java.lang.String name, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance)
Deprecated.The created method will compute the presence of Content-Length headers based on deprecated logic (before issue #4213).Create a custom method type.- Parameters:
name
- (undocumented)safe
- (undocumented)idempotent
- (undocumented)requestEntityAcceptance
- (undocumented)- Returns:
- (undocumented)
-
custom
public HttpMethod custom(java.lang.String name, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance, boolean contentLengthAllowed)
Create a custom method type.- Parameters:
name
- (undocumented)safe
- (undocumented)idempotent
- (undocumented)requestEntityAcceptance
- (undocumented)contentLengthAllowed
- (undocumented)- Returns:
- (undocumented)
-
custom
public HttpMethod custom(java.lang.String name)
Creates a custom method by name and assumes properties conservatively to be safe = false, idempotent = false, requestEntityAcceptance = Expected and contentLengthAllowed always true.- Parameters:
name
- (undocumented)- Returns:
- (undocumented)
-
-