class OptionsRequestMethodInvoker implements MethodInvoker {

    @Override
    public Object invokeMethod(Object resource, GenericResourceMethod genericResourceMethod, ApplicationContext context) {
        Application wadlApplication = wadlProcessor.process(genericResourceMethod.getParentResource(), context.getBaseUri());
        return Response.ok(wadlApplication, MediaTypeHelper.WADL_TYPE).build();
    }

    public  OptionsRequestMethodInvoker(WadlProcessor wadlProcessor);

}