Home / Function/ HttpResponseStatus() — netty Function Reference

HttpResponseStatus() — netty Function Reference

Architecture documentation for the HttpResponseStatus() function in RtspResponseStatuses.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  26c57368_9e8f_5a84_00c0_b275a1ce5111["HttpResponseStatus()"]
  3326944d_d2ec_17f0_6cfc_6e19cc23ef38["RtspResponseStatuses"]
  26c57368_9e8f_5a84_00c0_b275a1ce5111 -->|defined in| 3326944d_d2ec_17f0_6cfc_6e19cc23ef38
  style 26c57368_9e8f_5a84_00c0_b275a1ce5111 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/rtsp/RtspResponseStatuses.java lines 267–288

    public static HttpResponseStatus valueOf(int code) {
        switch (code) {
        case 250: return LOW_STORAGE_SPACE;
        case 302: return MOVED_TEMPORARILY;
        case 451: return PARAMETER_NOT_UNDERSTOOD;
        case 452: return CONFERENCE_NOT_FOUND;
        case 453: return NOT_ENOUGH_BANDWIDTH;
        case 454: return SESSION_NOT_FOUND;
        case 455: return METHOD_NOT_VALID;
        case 456: return HEADER_FIELD_NOT_VALID;
        case 457: return INVALID_RANGE;
        case 458: return PARAMETER_IS_READONLY;
        case 459: return AGGREGATE_OPERATION_NOT_ALLOWED;
        case 460: return ONLY_AGGREGATE_OPERATION_ALLOWED;
        case 461: return UNSUPPORTED_TRANSPORT;
        case 462: return DESTINATION_UNREACHABLE;
        case 463: return KEY_MANAGEMENT_FAILURE;
        case 505: return RTSP_VERSION_NOT_SUPPORTED;
        case 551: return OPTION_NOT_SUPPORTED;
        default:  return HttpResponseStatus.valueOf(code);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does HttpResponseStatus() do?
HttpResponseStatus() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/rtsp/RtspResponseStatuses.java.
Where is HttpResponseStatus() defined?
HttpResponseStatus() is defined in codec-http/src/main/java/io/netty/handler/codec/rtsp/RtspResponseStatuses.java at line 267.

Analyze Your Own Codebase

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

Try Supermodel Free