boolean isUsingAuthAnnot = false;
for (int i = 0; i < methods.length; i++)
{
Method method = methods[i];
MethodMapping methodMapped = method.getAnnotation(MethodMapping.class);
AuthorizeInvocation authorizeInvocation = method.getAnnotation(AuthorizeInvocation.class);
isUsingAuthAnnot = isUsingAuthAnnot || authorizeInvocation != null;
if (methodMapped != null)
{
HttpMethod httpMethod = methodMapped.httpMethod();
MethodMappingInfo methodMappingInfo = new MethodMappingInfo(methodMapped, method);
if (!webSerialDeserial.isMimeTypeSupported(methodMappingInfo.getInputFormat()) ||
!webSerialDeserial.isMimeTypeSupported(methodMappingInfo.getOutputFormat()))
throw new WicketRuntimeException(