You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
966 B
34 lines
966 B
package com.fr.plugin.cluster.req.demo; |
|
|
|
import com.fr.decision.fun.HttpHandler; |
|
import com.fr.decision.fun.impl.AbstractAuthorityExpandTypesProvider; |
|
import com.fr.decision.fun.impl.AbstractHttpHandlerProvider; |
|
import com.fr.plugin.cluster.req.demo.handler.CreateAction; |
|
import com.fr.plugin.cluster.req.demo.handler.SearchAction; |
|
import com.fr.plugin.cluster.req.demo.handler.ViewAction; |
|
import com.fr.stable.fun.mark.API; |
|
|
|
/** |
|
* |
|
*/ |
|
@API(level = AbstractAuthorityExpandTypesProvider.CURRENT_LEVEL) |
|
public class ReqDemoHandler extends AbstractHttpHandlerProvider { |
|
@Override |
|
public HttpHandler[] registerHandlers() { |
|
return new HttpHandler[]{ |
|
new CreateAction(), |
|
new SearchAction(), |
|
new ViewAction() |
|
}; |
|
} |
|
|
|
@Override |
|
public int currentAPILevel() { |
|
return CURRENT_LEVEL; |
|
} |
|
|
|
@Override |
|
public String mark4Provider() { |
|
return getClass().getName(); |
|
} |
|
}
|
|
|