testRecognizesAsteriskForm() — netty Function Reference
Architecture documentation for the testRecognizesAsteriskForm() function in HttpUtilTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 651a8a45_3c05_2010_dba2_eaafe1149659["testRecognizesAsteriskForm()"] 04f193b8_77e1_8af0_51b3_8dcd3ac8de0e["HttpUtilTest"] 651a8a45_3c05_2010_dba2_eaafe1149659 -->|defined in| 04f193b8_77e1_8af0_51b3_8dcd3ac8de0e style 651a8a45_3c05_2010_dba2_eaafe1149659 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/test/java/io/netty/handler/codec/http/HttpUtilTest.java lines 59–69
@Test
public void testRecognizesAsteriskForm() {
// Asterisk form: https://tools.ietf.org/html/rfc7230#section-5.3.4
assertTrue(HttpUtil.isAsteriskForm(URI.create("*")));
// Origin form: https://tools.ietf.org/html/rfc7230#section-5.3.1
assertFalse(HttpUtil.isAsteriskForm(URI.create("/where?q=now")));
// Absolute form: https://tools.ietf.org/html/rfc7230#section-5.3.2
assertFalse(HttpUtil.isAsteriskForm(URI.create("http://www.example.org/pub/WWW/TheProject.html")));
// Authority form: https://tools.ietf.org/html/rfc7230#section-5.3.3
assertFalse(HttpUtil.isAsteriskForm(URI.create("www.example.com:80")));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testRecognizesAsteriskForm() do?
testRecognizesAsteriskForm() is a function in the netty codebase, defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpUtilTest.java.
Where is testRecognizesAsteriskForm() defined?
testRecognizesAsteriskForm() is defined in codec-http/src/test/java/io/netty/handler/codec/http/HttpUtilTest.java at line 59.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free