libnetty

A set of some useful libraries based on netty-4.1.x.

MIT License

Stars
10
Committers
4
libnetty - Version 1.3.2.Final

Published by fmjsjx over 3 years ago

Modifications

libnetty-http-server

  • Change HTTP Bad Request response message string.
libnetty - Version 1.3.1.Final

Published by fmjsjx almost 4 years ago

Fixed Bugs

libnetty-http-server

  • Handle real exceptions in blocking mode.
libnetty - Version 1.3.0.Final

Published by fmjsjx almost 4 years ago

New Features

libnetty-http-server

  • Add HttpServerComponent interface.
  • Support Blocking API for JSON responses.

Modifications

libnetty-http-server

  • Provides a new component JsonLibrary instead of old middware SupportJson.
libnetty - Version 1.2.2.Final

Published by fmjsjx almost 4 years ago

Fixed Bugs

libnetty-http-server

  • Hooker method Middleware#onServerClosed() never be invoked.
libnetty - Version 1.2.1.Final

Published by fmjsjx almost 4 years ago

New Features

libnetty-http-server

  • Add Annotation @PropertyValue for binding property value to controller method parameters.
libnetty - Version 1.2.0.Final

Published by fmjsjx almost 4 years ago

New Features

libnetty-http-client

  • Support Proxys (HTTP, Socks5, Socks4).

Improves

libnetty-http

  • Provides HttpCommonUtil instead of HttpUtil.

libnetty-http-server

  • Add sendRedirect(location) method on HttpRequestContext.
  • Provides a new middleware (abstract) RequestValidator.

libnetty-resp

  • Add more factory methods on RespMessages.
  • Provides a new implementation of RespBulkStringMessage -> HeapBulkStringMessage.
  • Add Javadocs for IgnoredCaseAsciiKeyMap.

libnetty-resp3

  • Add more factory methods on Resp3Messages.

Fixed Bugs

libnetty-http-client

  • Remove debug stderr prints when decompress response content encoded in Brotli.
libnetty - Version 1.1.5.Final

Published by fmjsjx almost 4 years ago

Fix Bugs

libnetty-http-client

  1. Remove debug stderr print.
libnetty - Version 1.1.4.Final

Published by fmjsjx about 4 years ago

Improvements

libnetty-http-client

  1. Add builder option ioThreads.
  2. Set default ioThreads to NettyRuntime.availableProcessors().
libnetty - Version 1.1.3.Final

Published by fmjsjx about 4 years ago

Improvements

libnetty-http-server

  • Add an optional property address on DefaultHttpServer.
  • Modify display string (toString()) on DefaultHttpServer.
    For example: "DefaultHttpServer(name=default[SSL], binding=*:8443)"
libnetty - Version 1.1.0.Final

Published by fmjsjx about 4 years ago

New Features

libnetty-handler

  • Provides a SslContextProvider.

libnetty-http-client

  • Support Brotli as an optional feature.

libnetty-http-server

  • Provides a simplified HTTP server framework.

libnetty-resp3

Modifications

libnetty-http-client

  • ConnectionCachedHttpClient is deprecated.
  • Add some options.
libnetty - Version 1.0.1.Final

Published by fmjsjx about 4 years ago

Improves

libnetty-http-client

  • Add dependency com.jcraft:jzlib:1.1.3.
  • Use SslProvider#OPENSSL_REFCNT when OpenSSL is available.
  • Change default maxContentLength from 1MB to 16MB.

Dependency Upgrades

  • Upgrade to netty-4.1.53.Final.
  • Upgrade to netty-tcnative-2.0.34.Final.
libnetty - Version 1.0.0.Final

Published by fmjsjx over 4 years ago

New Features

libnetty-fastcgi

libnetty-http

  • Get fixed remote address from channel and HttpRequest.
  • Value convertion of HTTP header content-type.

libnetty-http-client

  • Basic calls on HTTP/1.1
  • Support HTTPS(OpenSSL, JdkSSL)
  • Simple support for content compression(gzip, deflate)
  • Non-blocking, asynchronous, API

libnetty-resp

  • Basic codec for components for RESP(REdis Serialization Protocol).
  • A simplified decoder RedisRequestDecoder to decode REDIS request messages.
  • A ignored case key map, optimized for netty ByteBuf.

libnetty-transport

  • Auto-selection of java/native transport.