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)
UrlRestfulManager
addRules
in interface UrlRestfulManager
public void removeRules(Rules Rules)
UrlRestfulManager
removeRules
in interface UrlRestfulManager
public Context getContext(String requestPath, String httpMethod, String accept)
UrlRestfulManager
getContext
in interface UrlRestfulManager
Copyright © 2006–2018 TinyGroup. All rights reserved.