Asity 3.0.0 release, JVM abstraction layer framework of various Web

Asity is HTTP / WebSocket framework abstraction layer on various Web JVM, Asity provides a kit for writing Web fragments, which is a function of processing a HTTP request and response exchange WebSocket, and allows to create the Web by a combination of Web fragments application. 3.0.0 version has been released, including support for the Play Framework 2. update content:

  •  Play Framework version minimum requirement was reduced from 2.7 to 2.6
  • Play bridge is compatible with the Play Framework 2.8.0-M3
  • Play bridge of readAsText (string character set) is a bug has been fixed. It requires the use of the original text parser
  • The onbody (Action <?> Action) ServerHttpExchange interface methods and onBlock (Action <?> Action) method The universal wildcard type parameters replaced. Thus, it can be written like http <string> onblock (http: write);. The class code
  • Play Framework does not support asynchronous read request block by block. Now, bridge waiting for the customer to complete the preparation of the body, and gives the whole body of the action request upon completion. Therefore, the entire request body is called only once ServerHttpExchange # onBlock method
  • Play Framework does not detect TCP disconnected. Therefore, regardless of the state of the connection, you will not call ServerHttpExchange # onlose method

For more details, see the contents of the release notes 

Guess you like

Origin www.oschina.net/news/108710/asity-3-0-0-released