## HttpMethod class

Represents utility class for retrieving and comparing standard HTTP methods.

```java
public class HttpMethod : IEquatable<HttpMethod>
```

## Constructors

| Name | Description |
| --- | --- |
| [HttpMethod](httpmethod/)(String) | Initializes a new instance of the `HttpMethod` class with a specific HTTP method. |

## Properties

| Name | Description |
| --- | --- |
| static [getDelete](../../com.aspose.html.net/httpmethod/delete/) Represents an HTTP DELETE protocol method. |
| static [getGet](../../com.aspose.html.net/httpmethod/get/) Represents an HTTP GET protocol method. |
| static [getPost](../../com.aspose.html.net/httpmethod/post/) Represents an HTTP POST protocol method. |
| static [getPut](../../com.aspose.html.net/httpmethod/put/) Represents an HTTP PUT protocol method. |

## Methods

| Name | Description |
| --- | --- |
| [equals](../../com.aspose.html.net/httpmethod/equals/#equals)(HttpMethod) | Indicates whether the current object is equal to another object of the same type. |
| [equals](../../com.aspose.html.net/httpmethod/equals/#equals_1)(object) | Determines whether the specified Object, is equal to this instance. |
| [getHashCode](../../com.aspose.html.net/httpmethod/gethashcode/)() | Returns a hash code for this instance. |
| [toString](../../com.aspose.html.net/httpmethod/toString/)() | Returns a String that represents this instance. |
| [operator ==](../../com.aspose.html.net/httpmethod/op_equality/) |  |
| [explicit operator](../../com.aspose.html.net/httpmethod/op_explicit/) |  |
| [operator !=](../../com.aspose.html.net/httpmethod/op_inequality/) |  |

### See Also

* package [com.aspose.html.net](../../com.aspose.html.net/)
* package [Aspose.HTML](../../)
