Home / Type/ HttpRequest Type — netty Architecture

HttpRequest Type — netty Architecture

Architecture documentation for the HttpRequest type/interface in HttpRequest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  7f88168f_9320_6825_9bae_3c08503262a0["HttpRequest"]
  2e9361c5_1c5c_b455_5ee6_d7a3077cef5d["HttpRequest.java"]
  7f88168f_9320_6825_9bae_3c08503262a0 -->|defined in| 2e9361c5_1c5c_b455_5ee6_d7a3077cef5d
  style 7f88168f_9320_6825_9bae_3c08503262a0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/HttpRequest.java lines 38–78

public interface HttpRequest extends HttpMessage {

    /**
     * @deprecated Use {@link #method()} instead.
     */
    @Deprecated
    HttpMethod getMethod();

    /**
     * Returns the {@link HttpMethod} of this {@link HttpRequest}.
     *
     * @return The {@link HttpMethod} of this {@link HttpRequest}
     */
    HttpMethod method();

    /**
     * Set the {@link HttpMethod} of this {@link HttpRequest}.
     */
    HttpRequest setMethod(HttpMethod method);

    /**
     * @deprecated Use {@link #uri()} instead.
     */
    @Deprecated
    String getUri();

    /**
     * Returns the requested URI (or alternatively, path)
     *
     * @return The URI being requested
     */
    String uri();

    /**
     *  Set the requested URI (or alternatively, path)
     */
    HttpRequest setUri(String uri);

    @Override
    HttpRequest setProtocolVersion(HttpVersion version);
}

Frequently Asked Questions

What is the HttpRequest type?
HttpRequest is a type/interface in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpRequest.java.
Where is HttpRequest defined?
HttpRequest is defined in codec-http/src/main/java/io/netty/handler/codec/http/HttpRequest.java at line 38.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free