Class HttpMethods
java.lang.Object
org.apache.pekko.http.javadsl.model.HttpMethods
Contains static constants for predefined method types.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HttpMethodstatic final HttpMethodstatic final HttpMethodstatic final HttpMethodstatic final HttpMethodstatic final HttpMethodstatic final HttpMethodstatic final HttpMethodstatic final HttpMethod
- 
Method SummaryModifier and TypeMethodDescriptionstatic HttpMethodcustom(String value, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance) Create a custom method type.static Optional<HttpMethod>Looks up a predefined HTTP method with the given name.
- 
Field Details- 
CONNECT
- 
DELETE
- 
GET
- 
HEAD
- 
OPTIONS
- 
PATCH
- 
POST
- 
PUT
- 
TRACE
 
- 
- 
Method Details- 
custompublic static HttpMethod custom(String value, boolean safe, boolean idempotent, RequestEntityAcceptance requestEntityAcceptance) Create a custom method type.
- 
lookupLooks up a predefined HTTP method with the given name.
 
-