connectionRelatedHeaders() — netty Function Reference
Architecture documentation for the connectionRelatedHeaders() function in HttpHeaderValidationUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 68064c85_3b2f_11be_efcc_88f614c3a80d["connectionRelatedHeaders()"] 41393c8c_1006_6327_605c_681db4fcf453["HttpHeaderValidationUtilTest"] 68064c85_3b2f_11be_efcc_88f614c3a80d -->|defined in| 41393c8c_1006_6327_605c_681db4fcf453 style 68064c85_3b2f_11be_efcc_88f614c3a80d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpHeaderValidationUtilTest.java lines 43–133
@SuppressWarnings("deprecation") // We need to check for deprecated headers as well.
public static List<Arguments> connectionRelatedHeaders() {
List<Arguments> list = new ArrayList<Arguments>();
list.add(header(false, HttpHeaderNames.ACCEPT));
list.add(header(false, HttpHeaderNames.ACCEPT_CHARSET));
list.add(header(false, HttpHeaderNames.ACCEPT_ENCODING));
list.add(header(false, HttpHeaderNames.ACCEPT_LANGUAGE));
list.add(header(false, HttpHeaderNames.ACCEPT_RANGES));
list.add(header(false, HttpHeaderNames.ACCEPT_PATCH));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_ALLOW_CREDENTIALS));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_ALLOW_HEADERS));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_ALLOW_METHODS));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_ALLOW_ORIGIN));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_EXPOSE_HEADERS));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_MAX_AGE));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_REQUEST_HEADERS));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_REQUEST_METHOD));
list.add(header(false, HttpHeaderNames.ACCESS_CONTROL_REQUEST_PRIVATE_NETWORK));
list.add(header(false, HttpHeaderNames.AGE));
list.add(header(false, HttpHeaderNames.ALLOW));
list.add(header(false, HttpHeaderNames.AUTHORIZATION));
list.add(header(false, HttpHeaderNames.CACHE_CONTROL));
list.add(header(true, HttpHeaderNames.CONNECTION));
list.add(header(false, HttpHeaderNames.CONTENT_BASE));
list.add(header(false, HttpHeaderNames.CONTENT_ENCODING));
list.add(header(false, HttpHeaderNames.CONTENT_LANGUAGE));
list.add(header(false, HttpHeaderNames.CONTENT_LENGTH));
list.add(header(false, HttpHeaderNames.CONTENT_LOCATION));
list.add(header(false, HttpHeaderNames.CONTENT_TRANSFER_ENCODING));
list.add(header(false, HttpHeaderNames.CONTENT_DISPOSITION));
list.add(header(false, HttpHeaderNames.CONTENT_MD5));
list.add(header(false, HttpHeaderNames.CONTENT_RANGE));
list.add(header(false, HttpHeaderNames.CONTENT_SECURITY_POLICY));
list.add(header(false, HttpHeaderNames.CONTENT_TYPE));
list.add(header(false, HttpHeaderNames.COOKIE));
list.add(header(false, HttpHeaderNames.DATE));
list.add(header(false, HttpHeaderNames.DNT));
list.add(header(false, HttpHeaderNames.ETAG));
list.add(header(false, HttpHeaderNames.EXPECT));
list.add(header(false, HttpHeaderNames.EXPIRES));
list.add(header(false, HttpHeaderNames.FROM));
list.add(header(false, HttpHeaderNames.HOST));
list.add(header(false, HttpHeaderNames.IF_MATCH));
list.add(header(false, HttpHeaderNames.IF_MODIFIED_SINCE));
list.add(header(false, HttpHeaderNames.IF_NONE_MATCH));
list.add(header(false, HttpHeaderNames.IF_RANGE));
list.add(header(false, HttpHeaderNames.IF_UNMODIFIED_SINCE));
list.add(header(true, HttpHeaderNames.KEEP_ALIVE));
list.add(header(false, HttpHeaderNames.LAST_MODIFIED));
list.add(header(false, HttpHeaderNames.LOCATION));
list.add(header(false, HttpHeaderNames.MAX_FORWARDS));
list.add(header(false, HttpHeaderNames.ORIGIN));
list.add(header(false, HttpHeaderNames.PRAGMA));
list.add(header(false, HttpHeaderNames.PROXY_AUTHENTICATE));
list.add(header(false, HttpHeaderNames.PROXY_AUTHORIZATION));
list.add(header(true, HttpHeaderNames.PROXY_CONNECTION));
list.add(header(false, HttpHeaderNames.RANGE));
list.add(header(false, HttpHeaderNames.REFERER));
list.add(header(false, HttpHeaderNames.RETRY_AFTER));
list.add(header(false, HttpHeaderNames.SEC_WEBSOCKET_KEY1));
list.add(header(false, HttpHeaderNames.SEC_WEBSOCKET_KEY2));
list.add(header(false, HttpHeaderNames.SEC_WEBSOCKET_LOCATION));
list.add(header(false, HttpHeaderNames.SEC_WEBSOCKET_ORIGIN));
list.add(header(false, HttpHeaderNames.SEC_WEBSOCKET_PROTOCOL));
list.add(header(false, HttpHeaderNames.SEC_WEBSOCKET_VERSION));
list.add(header(false, HttpHeaderNames.SEC_WEBSOCKET_KEY));
list.add(header(false, HttpHeaderNames.SEC_WEBSOCKET_ACCEPT));
list.add(header(false, HttpHeaderNames.SEC_WEBSOCKET_EXTENSIONS));
list.add(header(false, HttpHeaderNames.SERVER));
list.add(header(false, HttpHeaderNames.SET_COOKIE));
list.add(header(false, HttpHeaderNames.SET_COOKIE2));
list.add(header(true, HttpHeaderNames.TE));
list.add(header(false, HttpHeaderNames.TRAILER));
list.add(header(true, HttpHeaderNames.TRANSFER_ENCODING));
list.add(header(true, HttpHeaderNames.UPGRADE));
list.add(header(false, HttpHeaderNames.UPGRADE_INSECURE_REQUESTS));
list.add(header(false, HttpHeaderNames.USER_AGENT));
list.add(header(false, HttpHeaderNames.VARY));
list.add(header(false, HttpHeaderNames.VIA));
Domain
Subdomains
Source
Frequently Asked Questions
What does connectionRelatedHeaders() do?
connectionRelatedHeaders() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpHeaderValidationUtilTest.java.
Where is connectionRelatedHeaders() defined?
connectionRelatedHeaders() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpHeaderValidationUtilTest.java at line 43.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free