public interface

HttpRequest

implements HttpMessage
org.springframework.http.HttpRequest
Known Indirect Subclasses

Class Overview

Represents an HTTP request message, consisting of method and uri.

Summary

Public Methods
abstract HttpMethod getMethod()
Return the HTTP method of the request.
abstract URI getURI()
Return the URI of the request.
[Expand]
Inherited Methods
From interface org.springframework.http.HttpMessage

Public Methods

public abstract HttpMethod getMethod ()

Return the HTTP method of the request.

Returns
  • the HTTP method as an HttpMethod enum value

public abstract URI getURI ()

Return the URI of the request.

Returns
  • the URI of the request