test_class.file: karate-core/src/test/java/com/intuit/karate/netty/ProxyContextTest.java
test_class.identifier: ProxyContextTest
test_case.body: @Test
      public void testProxyContext() {
          test("http://localhost:8080", false, "localhost", 8080);
          test("http://localhost:8080/foo", false, "localhost", 8080);
          test("localhost:8080", false, "localhost", 8080);
          test("localhost:8080/foo", false, "localhost", 8080);
          test("localhost", false, "localhost", 80);
          test("localhost/foo", false, "localhost", 80);
          test("http://localhost", false, "localhost", 80);
          test("http://localhost/foo", false, "localhost", 80);
          test("httpbin.org:443", false, "httpbin.org", 443);
          test("httpbin.org:443", true, "httpbin.org", 443);
          test("httpbin.org:443/foo", true, "httpbin.org", 443);
          test("httpbin.org", true, "httpbin.org", 443);
          test("httpbin.org/foo", true, "httpbin.org", 443);
      }
test_case.class_method_signature: ProxyContextTest.testProxyContext()
test_case.full_signature: @Test public void testProxyContext()
test_case.identifier: testProxyContext
test_case.invocations: test test test test test test test test test test test test test
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testProxyContext()
focal_class.declarator: host
focal_class.modifier: public final
focal_class.original_string: public final String host;
focal_class.type: String
focal_class.var_name: host
focal_class.declarator: port
focal_class.modifier: public final
focal_class.original_string: public final int port;
focal_class.type: int
focal_class.var_name: port
focal_class.declarator: ssl
focal_class.modifier: public final
focal_class.original_string: public final boolean ssl;
focal_class.type: boolean
focal_class.var_name: ssl
focal_class.declarator: hostColonPort
focal_class.modifier: public final
focal_class.original_string: public final String hostColonPort;
focal_class.type: String
focal_class.var_name: hostColonPort
focal_class.declarator: HTTPS_PORT = 443
focal_class.modifier: private static final
focal_class.original_string: private static final int HTTPS_PORT = 443;
focal_class.type: int
focal_class.var_name: HTTPS_PORT
focal_class.declarator: HTTP_PORT = 80
focal_class.modifier: private static final
focal_class.original_string: private static final int HTTP_PORT = 80;
focal_class.type: int
focal_class.var_name: HTTP_PORT
focal_class.file: karate-core/src/main/java/com/intuit/karate/netty/ProxyContext.java
focal_class.identifier: ProxyContext
focal_class.class_method_signature: ProxyContext.ProxyContext(HttpRequest request, boolean ssl)
focal_class.full_signature: public  ProxyContext(HttpRequest request, boolean ssl)
focal_class.identifier: ProxyContext
focal_class.modifiers: public
focal_class.parameters: (HttpRequest request, boolean ssl)
focal_class.signature:  ProxyContext(HttpRequest request, boolean ssl)
focal_class.class_method_signature: ProxyContext.ProxyContext(String raw, boolean ssl)
focal_class.full_signature: public  ProxyContext(String raw, boolean ssl)
focal_class.identifier: ProxyContext
focal_class.modifiers: public
focal_class.parameters: (String raw, boolean ssl)
focal_class.signature:  ProxyContext(String raw, boolean ssl)
focal_class.class_method_signature: ProxyContext.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: ProxyContext.parsePort(String raw, boolean ssl)
focal_class.full_signature: private static int parsePort(String raw, boolean ssl)
focal_class.identifier: parsePort
focal_class.modifiers: private static
focal_class.parameters: (String raw, boolean ssl)
focal_class.return: int
focal_class.signature: int parsePort(String raw, boolean ssl)
focal_class.class_method_signature: ProxyContext.getHostColonPortFromHeader(HttpRequest request)
focal_class.full_signature: private static String getHostColonPortFromHeader(HttpRequest request)
focal_class.identifier: getHostColonPortFromHeader
focal_class.modifiers: private static
focal_class.parameters: (HttpRequest request)
focal_class.return: String
focal_class.signature: String getHostColonPortFromHeader(HttpRequest request)
focal_class.class_method_signature: ProxyContext.extractHostColonPort(String uri)
focal_class.full_signature: private static String extractHostColonPort(String uri)
focal_class.identifier: extractHostColonPort
focal_class.modifiers: private static
focal_class.parameters: (String uri)
focal_class.return: String
focal_class.signature: String extractHostColonPort(String uri)
focal_class.class_method_signature: ProxyContext.removeHostColonPort(String uri)
focal_class.full_signature: public static String removeHostColonPort(String uri)
focal_class.identifier: removeHostColonPort
focal_class.modifiers: public static
focal_class.parameters: (String uri)
focal_class.return: String
focal_class.signature: String removeHostColonPort(String uri)
focal_method.body: public ProxyContext(HttpRequest request, boolean ssl) {
          this(getHostColonPortFromHeader(request), ssl);
      }
focal_method.class_method_signature: ProxyContext.ProxyContext(HttpRequest request, boolean ssl)
focal_method.full_signature: public  ProxyContext(HttpRequest request, boolean ssl)
focal_method.identifier: ProxyContext
focal_method.modifiers: public
focal_method.parameters: (HttpRequest request, boolean ssl)
focal_method.signature:  ProxyContext(HttpRequest request, boolean ssl)