// --------- Primary Type @WebParam Resolvers --------- //
//TODO: probably can reduce all the primary type resolver to one generic (as the resolveWebPath)
@WebParamResolver(annotatedWith=WebParam.class)
public Long resolveLong(AnnotationMap annotationMap, Class paramType, RequestContext rc) {
WebParam webParam = annotationMap.get(WebParam.class);
String id = rc.getParam(webParam.value());
return ObjectUtil.getValue(id, Long.class, null);
}