@Test public void testExecute_IncludeAttrs() { MultivaluedMap<String, String> params = new MultivaluedHashMap<>(); params.put("include", Arrays.asList("a", "b")); SelectContext<Tr> context = prepareContext(Tr.class, params); stage.execute(context); assertNotNull(context.getMergedRequest()); assertEquals(2, context.getMergedRequest().getIncludes().size()); assertEquals("a", context.getMergedRequest().getIncludes().get(0).getPath()); assertEquals("b", context.getMergedRequest().getIncludes().get(1).getPath()); }
@Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; }
ParseRequestStage implements Processor<SelectContext<?>> { @Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; } }
ParseRequestStage implements Processor<SelectContext<?>> { @Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; } ParseRequestStage(@Inject IAgRequestBuilderFactory requestBuilderFactory); }
ParseRequestStage implements Processor<SelectContext<?>> { @Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; } ParseRequestStage(@Inject IAgRequestBuilderFactory requestBuilderFactory); @Override ProcessorOutcome execute(SelectContext<?> context); }
ParseRequestStage implements Processor<SelectContext<?>> { @Override public ProcessorOutcome execute(SelectContext<?> context) { doExecute(context); return ProcessorOutcome.CONTINUE; } ParseRequestStage(@Inject IAgRequestBuilderFactory requestBuilderFactory); @Override ProcessorOutcome execute(SelectContext<?> context);  }