alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Java example source code file (testSpecExampleC3.json)

This example Java source code file (testSpecExampleC3.json) is included in the alvinalexander.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Learn more about this Java project at its project page.

Java - Java tags/keywords

get

The testSpecExampleC3.json Java example source code

{
  "force_huffman_off": true,
  "header_blocks":
  [
    {
      "headers": [
        { ":method": "GET" },
        { ":scheme": "http" },
        { ":path": "/" },
        { ":authority": "www.example.com" }
      ],
      "encoded": [
        "8286 8441 0f77 7777 2e65 7861 6d70 6c65",
        "2e63 6f6d"
      ],
      "dynamic_table": [
        { ":authority": "www.example.com" }
      ],
      "table_size": 57
    },
    {
      "headers": [
        { ":method": "GET" },
        { ":scheme": "http" },
        { ":path": "/" },
        { ":authority": "www.example.com" },
        { "cache-control": "no-cache" }
      ],
      "encoded": [
        "8286 84be 5808 6e6f 2d63 6163 6865"
      ],
      "dynamic_table": [
        { "cache-control": "no-cache" },
        { ":authority": "www.example.com" }
      ],
      "table_size": 110
    },
    {
      "headers": [
        { ":method": "GET" },
        { ":scheme": "https" },
        { ":path": "/index.html" },
        { ":authority": "www.example.com" },
        { "custom-key": "custom-value" }
      ],
      "encoded": [
        "8287 85bf 400a 6375 7374 6f6d 2d6b 6579",
        "0c63 7573 746f 6d2d 7661 6c75 65"
      ],
      "dynamic_table": [
        { "custom-key": "custom-value" },
        { "cache-control": "no-cache" },
        { ":authority": "www.example.com" }
      ],
      "table_size": 164
    }
  ]
}

Other Java examples (source code examples)

Here is a short list of links related to this Java testSpecExampleC3.json source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.