内容简介:本次更新内容: 1、[tio-utils]:优化 tio 内置的 Cache 框架 2、Tio.java 部分方法调整 3、[tio-http]:HttpRequest 增加很多便捷的方法用于获取参数 getObject(String name) getString(String name) getUploadF...
本次更新内容:
1、[tio-utils]:优化 tio 内置的 Cache 框架
2、Tio.java 部分方法调整
3、[tio-http]:HttpRequest 增加很多便捷的方法用于获取参数
getObject(String name)
getString(String name)
getUploadFile(String name)
getInt(String name)
getShort(String name)
getLong(String name)
getDouble(String name)
getFloat(String name)
4、[tio-http]:增加和优化 forward()
org.tio.http.common.HttpRequest.forward(String)
org.tio.http.server.util.Resps.forward(HttpRequest, String)
5、[tio-http]:优化 404, 500 处理,由原来的 redirect 改为 forward,用户体验更棒一些
6、[tio-http]:注释中内置 forward 字段,用起来跟 nginx 的 rewrite 差不多
@RequestPath(value = "/{adid}", forward = "/ad/methodB")
public HttpResponse methodA(Integer adid, HttpRequest request) throws Exception {...}
外部访问"/ad/12345",对内的处理逻辑就是"/ad/methodB?adid=12345"
7、[tio-websocket]:优化一个小的编码问题,减少新对象的创建
最新pom
<dependency> <groupId>org.t-io</groupId> <artifactId>tio-core</artifactId> <version>3.2.2.v20181122-RELEASE</version> </dependency>
例行说明
t-io官网开放注册功能了,目前有尚未完善的聊天功能和博客功能,欢迎来作客留痕!
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- GNOME 3.30.2 发布,多项模块升级
- WGCLOUD 监控系统更新,公众看板服务模块升级
- cnpm 核心模块 npminstall 升级到 async 总结
- NideShop 升级到 ThinkJS 3.x 和添加 admin 模块
- 云办公系统 skyeye v3.3.6 发布,考勤模块升级
- 云办公系统 skyeye v3.3.7 发布,考勤模块升级
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Ant Colony Optimization
Marco Dorigo、Thomas Stützle / A Bradford Book / 2004-6-4 / USD 45.00
The complex social behaviors of ants have been much studied by science, and computer scientists are now finding that these behavior patterns can provide models for solving difficult combinatorial opti......一起来看看 《Ant Colony Optimization》 这本书的介绍吧!