public class UrlRestfulManagerImpl extends Object implements UrlRestfulManager
URL_RESTFUL_XSTREAM| Constructor and Description |
|---|
UrlRestfulManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRules(Rules Rules)
增加restful配置信息
|
Context |
getContext(String requestPath,
String httpMethod,
String accept)
根据请求路径、请求的方法以及请求头的accept 组装此次请求的上下文对象
|
void |
removeRules(Rules Rules)
移除restful配置信息
|
public void addRules(Rules Rules)
UrlRestfulManageraddRules in interface UrlRestfulManagerpublic void removeRules(Rules Rules)
UrlRestfulManagerremoveRules in interface UrlRestfulManagerpublic Context getContext(String requestPath, String httpMethod, String accept)
UrlRestfulManagergetContext in interface UrlRestfulManagerCopyright © 2006–2018 TinyGroup. All rights reserved.