HttpMethodUtils class

Constructors

HttpMethodUtils()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
mappings Map<String, HttpMethod>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

matches(HttpMethod http_method, String method) bool
  • Determine whether this HttpMethod matches the given
    • method value.
    • @param method the method value as a String
    • @return true if it matches, false otherwise
  • noSuchMethod(Invocation invocation) → dynamic
    Invoked when a non-existent method or property is accessed. [...]
    inherited
    resolve(String method) HttpMethod
  • Resolve the given method value to an HttpMethod.
    • @param method the method value as a String
    • @return the corresponding HttpMethod, or null if not found
  • toString() String
    Returns a string representation of this object.
    inherited

    Operators

    operator ==(Object other) bool
    The equality operator. [...]
    inherited