HttpMessage() — netty Function Reference
Architecture documentation for the HttpMessage() function in RtspDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD eab04a74_69bd_ee11_8af8_be1596b62f66["HttpMessage()"] 0aa9414c_6f4a_5397_26cd_8cb3bcc1311d["RtspDecoder"] eab04a74_69bd_ee11_8af8_be1596b62f66 -->|defined in| 0aa9414c_6f4a_5397_26cd_8cb3bcc1311d style eab04a74_69bd_ee11_8af8_be1596b62f66 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/rtsp/RtspDecoder.java lines 139–157
@Override
protected HttpMessage createMessage(final String[] initialLine)
throws Exception {
// If the first element of the initial line is a version string then
// this is a response
if (versionPattern.matcher(initialLine[0]).matches()) {
isDecodingRequest = false;
return new DefaultHttpResponse(RtspVersions.valueOf(initialLine[0]),
new HttpResponseStatus(Integer.parseInt(initialLine[1]),
initialLine[2]),
headersFactory);
} else {
isDecodingRequest = true;
return new DefaultHttpRequest(RtspVersions.valueOf(initialLine[2]),
RtspMethods.valueOf(initialLine[0]),
initialLine[1],
headersFactory);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does HttpMessage() do?
HttpMessage() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/rtsp/RtspDecoder.java.
Where is HttpMessage() defined?
HttpMessage() is defined in codec-http/src/main/java/io/netty/handler/codec/rtsp/RtspDecoder.java at line 139.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free