Restlet中使用的协议以及协议的检查规则
来源:互联网 发布:淘宝客阿里妈妈 编辑:程序博客网 时间:2024/06/06 04:44
Restlet目前支持多种协议。
协议在Restlet中被客户端和服务端的connector使用,connector可以使实现了标准协议的组件之间进行通迅。
在ConnectorService中保存了client和server使用的protocol的列表。
在Restlet启动,即Component组件start(启动)的时候,ComponentHelper会检查当前应用允许使用哪些协议。
需要注意的是,默认这些protocol列表是空的,含义是支持所有的协议。
就是说,这个列表保存的是不允许使用协议的列表。
如果应用限制某些协议的使用,要把协议的内容保存到这个列表中。
在不同的help构造的时候,会加入相应的协议。
检查的时候,如果protocol列表中有协议存在,则从help中取出协议与protocol列表中的协议进行匹配,如果匹配了就告警。
否则,无需检查直接启动应用。
Restlet 支持如下协议:
AJP
AJP 1.3 protocol to communicate with Apache HTTP server or Microsoft IIS.
CLAP
CLAP (ClassLoader Access Protocol) is a custom scheme to access to representations via classloaders.
FILE
FILE is a standard scheme to access to representations stored in the file system (locally most of the time).
FTP
FTP protocol.
HTTP
HTTP protocol.
HTTPS
HTTPS protocol (via SSL socket).
JAR
JAR (Java ARchive) is a common scheme to access to representations inside archive files.
JDBC
JDBC protocol.
POP
POP protocol.
POPS
POPS protocol (via SSL/TLS socket)..
RIAP
RIAP (Restlet Internal Access Protocol) is a custom scheme to access representations via internal calls to virtual hosts/components.
SMTP
SMTP protocol.
SMTPS
SMTPS protocol (via SSL/TLS socket).
WAR
Local Web Archive access protocol.
- Restlet中使用的协议以及协议的检查规则
- Restlet 2.2中Restlet类的分析
- Restlet 2.2中Restlet类的分析
- IOS中使用http协议,以及http协议参数的分析
- iOS中协议的使用
- iOS中协议的使用
- 流媒体中使用的协议
- SSDP协议的Android实现以及使用
- SSDP协议的Android实现以及使用
- Wireshark Coloring Rules 色彩规则中所不清楚的协议
- 关于使用Restlet的升级
- 常见的协议中使用的算法
- Restlet - 使用Restlet自身组件Application/Component的开发实例
- Qt中UDP协议的使用实例
- PACS中DICOM协议的使用
- 卫星网络中使用TCP协议的劣势
- iOS中使用协议(protocol)的用法
- 14、swift语言中协议的使用
- 想成为嵌入式程序员应知道的0x10个基本问题
- JavaFX下周发布,赶快学习吧
- 七种映射关系简介
- linux用c语言来遍历目录
- YCbCr数据格式标准
- Restlet中使用的协议以及协议的检查规则
- 一些思考:CAB 和SCSF
- WinCE.net的开机自动启动(转)
- SQL语言的应用
- 接口回调
- 下载飞鸽传书软件
- 关于TreeView中添加图标
- 没事的日子
- 在C#中动态调用WebService