Class RequestMethod
java.lang.Object
com.github.tomakehurst.wiremock.http.RequestMethod
- All Implemented Interfaces:
NamedValueMatcher<RequestMethod>,ValueMatcher<RequestMethod>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RequestMethodstatic final RequestMethodstatic final RequestMethodstatic final RequestMethodstatic final RequestMethodstatic final RequestMethodstatic final RequestMethodstatic final RequestMethodstatic final RequestMethodstatic final RequestMethod -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RequestMethodfromString(String value) getName()booleaninthashCode()booleanisOneOf(RequestMethod... methods) match(RequestMethod method) toString()value()static RequestMethod[]values()
-
Field Details
-
GET
-
POST
-
PUT
-
DELETE
-
PATCH
-
OPTIONS
-
HEAD
-
TRACE
-
ANY
-
GET_OR_HEAD
-
-
Constructor Details
-
RequestMethod
-
-
Method Details
-
fromString
-
value
-
isOneOf
-
match
- Specified by:
matchin interfaceValueMatcher<RequestMethod>
-
getName
- Specified by:
getNamein interfaceNamedValueMatcher<RequestMethod>
-
getExpected
- Specified by:
getExpectedin interfaceNamedValueMatcher<RequestMethod>
-
equals
-
hasEntity
public boolean hasEntity() -
hashCode
public int hashCode() -
toString
-
values
-