public class ReportDispatcher
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static void |
addExtraServices(java.util.Set<Service> services) |
static void |
dealWithRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
处理HTTP请求
|
static void |
registerDynamicServices(java.lang.String op,
java.lang.Class<? extends Service> service) |
static void |
registerGroupService(Service[] groupService)
增加新的服务到调度器中
|
static void |
removeExtraServices(java.util.Set<Service> services) |
static void |
removeGroupService(Service[] groupService) |
public static void addExtraServices(java.util.Set<Service> services)
public static void removeExtraServices(java.util.Set<Service> services)
public static void registerGroupService(Service[] groupService)
groupService
- 要添加的服务组成的一个数组public static void removeGroupService(Service[] groupService)
public static void registerDynamicServices(java.lang.String op, java.lang.Class<? extends Service> service)
public static void dealWithRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
req
- HTTP请求res
- HTTP相应java.lang.Exception