public class WebPojoDispatcher extends PojoDispatcherImpl
mappings| Constructor and Description |
|---|
WebPojoDispatcher(List<Object> controllers) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
customSimpleArg(PojoRequest request,
Annotation[] annotations) |
DispatchResult |
dispatch(PojoRequest req) |
protected List<String> |
getComponentNames(Class<?> component) |
protected Object |
getCustomArg(PojoRequest request,
Class<?> type,
String[] parts,
int paramsFrom,
int paramsSize) |
protected List<DispatchReq> |
getMethodActions(String componentPath,
Method method) |
protected Object |
invoke(PojoRequest req,
Method method,
Object component,
Object[] args) |
protected boolean |
isCustomSimpleArg(PojoRequest request,
Annotation[] annotations) |
protected boolean |
isCustomType(Class<?> type) |
protected void |
preprocess(PojoRequest req,
Method method,
Object component,
Object[] args) |
complexArg, error, notFound, postprocess, processprotected boolean isCustomType(Class<?> type)
isCustomType in class PojoDispatcherImplprotected Object getCustomArg(PojoRequest request, Class<?> type, String[] parts, int paramsFrom, int paramsSize)
getCustomArg in class PojoDispatcherImplprotected List<String> getComponentNames(Class<?> component)
getComponentNames in class PojoDispatcherImplpublic DispatchResult dispatch(PojoRequest req) throws PojoHandlerNotFoundException, PojoDispatchException
dispatch in interface PojoDispatcherdispatch in class PojoDispatcherImplPojoHandlerNotFoundExceptionPojoDispatchExceptionprotected List<DispatchReq> getMethodActions(String componentPath, Method method)
getMethodActions in class PojoDispatcherImplprotected void preprocess(PojoRequest req, Method method, Object component, Object[] args)
preprocess in class PojoDispatcherImplprotected Object invoke(PojoRequest req, Method method, Object component, Object[] args)
invoke in class PojoDispatcherImplprotected Object customSimpleArg(PojoRequest request, Annotation[] annotations)
customSimpleArg in class PojoDispatcherImplprotected boolean isCustomSimpleArg(PojoRequest request, Annotation[] annotations)
isCustomSimpleArg in class PojoDispatcherImplCopyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.