<commit_before>This tiny Java library is intended for use with Netty 4, to route HTTP requests
to your Netty handlers. It is based on
`Jauter <https://github.com/xitrum-framework/jauter>`_.

See `test <https://github.com/xitrum-framework/netty-router/tree/master/src/test/scala/io/netty/handler/codec/http>`_
for example.

Use with Maven
~~~~~~~~~~~~~~

::

  <dependency>
    <groupId>tv.cntt</groupId>
    <artifactId>netty-router</artifactId>
    <version>1.2</version>
  </dependency>

Tip: You should also add `Javassist <http://javassist.org/>`_, it boosts Netty 4+ speed.

::

  <dependency>
    <groupId>org.javassist</groupId>
    <artifactId>javassist</artifactId>
    <version>3.18.2-GA</version>
  </dependency>

Create router
~~~~~~~~~~~~~<commit_msg>Mention Sinetja<commit_after>This tiny Java library is intended for use with Netty 4, to route HTTP requests
to your Netty handlers. It is based on
`Jauter <https://github.com/xitrum-framework/jauter>`_.

netty-router is used in `Sinetja <https://github.com/xitrum-framework/sinetja>`_.

See `test <https://github.com/xitrum-framework/netty-router/tree/master/src/test/scala/io/netty/handler/codec/http>`_
for example.

Use with Maven
~~~~~~~~~~~~~~

::

  <dependency>
    <groupId>tv.cntt</groupId>
    <artifactId>netty-router</artifactId>
    <version>1.2</version>
  </dependency>

Tip: You should also add `Javassist <http://javassist.org/>`_, it boosts Netty 4+ speed.

::

  <dependency>
    <groupId>org.javassist</groupId>
    <artifactId>javassist</artifactId>
    <version>3.18.2-GA</version>
  </dependency>

Create router
~~~~~~~~~~~~~
{'fraction_non_alphanumeric': 0.17048977061376316, 'fraction_numerical': 0.009919404835709857, 'mean_word_length': 4.223300970873787, 'pattern_counts': {'":': 0, '<': 42, '<?xml version=': 0, '>': 42, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7000337', 'n_tokens_mistral': 600, 'n_tokens_neox': 548, 'n_words': 121}