Package kilim.http

Class HttpRequestParser


  • public class HttpRequestParser
    extends java.lang.Object
    • Field Detail

      • UTF8

        public static final java.nio.charset.Charset UTF8
      • _http_parser_actions

        private static final byte[] _http_parser_actions
      • _http_parser_key_offsets

        private static final short[] _http_parser_key_offsets
      • _http_parser_trans_keys

        private static final char[] _http_parser_trans_keys
      • _http_parser_single_lengths

        private static final byte[] _http_parser_single_lengths
      • _http_parser_range_lengths

        private static final byte[] _http_parser_range_lengths
      • _http_parser_index_offsets

        private static final short[] _http_parser_index_offsets
      • _http_parser_indicies

        private static final byte[] _http_parser_indicies
      • _http_parser_trans_targs

        private static final byte[] _http_parser_trans_targs
      • _http_parser_trans_actions

        private static final byte[] _http_parser_trans_actions
      • _http_keywords_actions

        private static final byte[] _http_keywords_actions
      • _http_keywords_key_offsets

        private static final short[] _http_keywords_key_offsets
      • _http_keywords_trans_keys

        private static final char[] _http_keywords_trans_keys
      • _http_keywords_single_lengths

        private static final byte[] _http_keywords_single_lengths
      • _http_keywords_range_lengths

        private static final byte[] _http_keywords_range_lengths
      • _http_keywords_index_offsets

        private static final short[] _http_keywords_index_offsets
      • _http_keywords_trans_targs

        private static final short[] _http_keywords_trans_targs
      • _http_keywords_trans_actions

        private static final byte[] _http_keywords_trans_actions
      • _http_keywords_to_state_actions

        private static final byte[] _http_keywords_to_state_actions
      • _http_keywords_from_state_actions

        private static final byte[] _http_keywords_from_state_actions
      • _http_keywords_eof_trans

        private static final short[] _http_keywords_eof_trans
      • _http_date_actions

        private static final byte[] _http_date_actions
      • _http_date_key_offsets

        private static final short[] _http_date_key_offsets
      • _http_date_trans_keys

        private static final char[] _http_date_trans_keys
      • _http_date_single_lengths

        private static final byte[] _http_date_single_lengths
      • _http_date_range_lengths

        private static final byte[] _http_date_range_lengths
      • _http_date_index_offsets

        private static final short[] _http_date_index_offsets
      • _http_date_trans_targs

        private static final byte[] _http_date_trans_targs
      • _http_date_trans_actions

        private static final byte[] _http_date_trans_actions
      • GMT

        public static java.util.TimeZone GMT
      • crlf

        public static java.lang.String crlf
    • Constructor Detail

      • HttpRequestParser

        public HttpRequestParser()
    • Method Detail

      • init__http_parser_actions_0

        private static byte[] init__http_parser_actions_0()
      • init__http_parser_key_offsets_0

        private static short[] init__http_parser_key_offsets_0()
      • init__http_parser_trans_keys_0

        private static char[] init__http_parser_trans_keys_0()
      • init__http_parser_single_lengths_0

        private static byte[] init__http_parser_single_lengths_0()
      • init__http_parser_range_lengths_0

        private static byte[] init__http_parser_range_lengths_0()
      • init__http_parser_index_offsets_0

        private static short[] init__http_parser_index_offsets_0()
      • init__http_parser_indicies_0

        private static byte[] init__http_parser_indicies_0()
      • init__http_parser_trans_targs_0

        private static byte[] init__http_parser_trans_targs_0()
      • init__http_parser_trans_actions_0

        private static byte[] init__http_parser_trans_actions_0()
      • err

        public static void err​(java.lang.String msg)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • initHeader

        public static void initHeader​(HttpRequest req,
                                      int headerLength)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • encodeRange

        public static int encodeRange​(int start,
                                      int end)
        encode the start pos and length as ints;
      • init__http_keywords_actions_0

        private static byte[] init__http_keywords_actions_0()
      • init__http_keywords_key_offsets_0

        private static short[] init__http_keywords_key_offsets_0()
      • init__http_keywords_trans_keys_0

        private static char[] init__http_keywords_trans_keys_0()
      • init__http_keywords_single_lengths_0

        private static byte[] init__http_keywords_single_lengths_0()
      • init__http_keywords_range_lengths_0

        private static byte[] init__http_keywords_range_lengths_0()
      • init__http_keywords_index_offsets_0

        private static short[] init__http_keywords_index_offsets_0()
      • init__http_keywords_trans_targs_0

        private static short[] init__http_keywords_trans_targs_0()
      • init__http_keywords_trans_actions_0

        private static byte[] init__http_keywords_trans_actions_0()
      • init__http_keywords_to_state_actions_0

        private static byte[] init__http_keywords_to_state_actions_0()
      • init__http_keywords_from_state_actions_0

        private static byte[] init__http_keywords_from_state_actions_0()
      • init__http_keywords_eof_trans_0

        private static short[] init__http_keywords_eof_trans_0()
      • kw_lookup

        public static java.lang.String kw_lookup​(byte[] data,
                                                 int start,
                                                 int len)
      • init__http_date_actions_0

        private static byte[] init__http_date_actions_0()
      • init__http_date_key_offsets_0

        private static short[] init__http_date_key_offsets_0()
      • init__http_date_trans_keys_0

        private static char[] init__http_date_trans_keys_0()
      • init__http_date_single_lengths_0

        private static byte[] init__http_date_single_lengths_0()
      • init__http_date_range_lengths_0

        private static byte[] init__http_date_range_lengths_0()
      • init__http_date_index_offsets_0

        private static short[] init__http_date_index_offsets_0()
      • init__http_date_trans_targs_0

        private static byte[] init__http_date_trans_targs_0()
      • init__http_date_trans_actions_0

        private static byte[] init__http_date_trans_actions_0()
      • parseDate

        public static long parseDate​(byte[] data,
                                     int pos,
                                     int len)
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception