*/
public void beforeService(RopRequestContext ropRequestContext) {
System.out.println("beforeService ...");
if ("jhonson".equals(ropRequestContext.getParamValue("userName"))) {
InterceptorResponse response = new InterceptorResponse();
response.setTestField("the userName can't be jhonson!");
//设置了RopResponse后,后续的服务将不执行,直接返回这个RopResponse响应
ropRequestContext.setRopResponse(response);
}
}