tio-httpserver 0.0.4 发布,用 t-io 实现的高性能 http 服务器

栏目: 软件资讯 · 发布时间: 7年前

内容简介:本次修改点: 增加org.tio.http.common.HttpResponse.getContentType() gzip放到DefaultHttpRequestHandler中最后才处理  删除HttpResponse.setBodyAndGzip  FreemarkerConfig增加后缀判断  http头的最大长度改...

本次修改点:

  1. 增加org.tio.http.common.HttpResponse.getContentType()

  2. gzip放到DefaultHttpRequestHandler中最后才处理 

  3. 删除HttpResponse.setBodyAndGzip 

  4. FreemarkerConfig增加后缀判断 

  5. http头的最大长度改为2048

  6. 增加对freemarker的支持,主要是用于tio-webpack

  7. http增加context和suffix,这样方便nginx做代理

t-io官网就是运行在这个服务器下的:http://www.t-io.org/#/case

POM坐标

<dependency>
	<groupId>org.t-io</groupId>
	<artifactId>tio-http-server</artifactId>
        <version>0.0.4-tio-http</version>
</dependency>

【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

How to Build a Billion Dollar App

How to Build a Billion Dollar App

George Berkowski / Little, Brown Book Group / 2015-4-1 / USD 24.95

Apps have changed the way we communicate, shop, play, interact and travel and their phenomenal popularity has presented possibly the biggest business opportunity in history. In How to Build a Billi......一起来看看 《How to Build a Billion Dollar App》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具