private boolean isApplicableMethod(Method m, Class<? extends Annotation> httpMethodClass) {
		Class<?>[] parameters = m.getParameterTypes();
		if(!m.isAnnotationPresent(httpMethodClass))
			return false;
		if(!(parameters.length == 1 && parameters[0].equals(Arguments.class)))
			throw new IllegalArgumentException("Wrong method signature: "+resource.getClass().getSimpleName()+"."+m.getName());
		return true;
	}