dispatcher.getRegistry().addPerRequestResource(ResourceQueryPrimitiveListDefaultOverride.class);
dispatcher.getRegistry().addPerRequestResource(ResourceQueryPrimitiveArray.class);
dispatcher.getRegistry().addPerRequestResource(ResourceQueryPrimitiveArrayDefault.class);
dispatcher.getRegistry().addPerRequestResource(ResourceQueryPrimitiveArrayDefaultNull.class);
dispatcher.getRegistry().addPerRequestResource(ResourceQueryPrimitiveArrayDefaultOverride.class);
client = new ResteasyClientBuilder().build();
resourceQueryPrimitives = ProxyBuilder.builder(IResourceQueryPrimitives.class, client.target(generateBaseUrl())).build();
resourceQueryPrimitiveWrappers = ProxyBuilder.builder(IResourceQueryPrimitiveWrappers.class, client.target(generateBaseUrl())).build();
resourceQueryPrimitiveList = ProxyBuilder.builder(IResourceQueryPrimitiveList.class, client.target(generateBaseUrl())).build();
resourceQueryPrimitiveArray = ProxyBuilder.builder(IResourceQueryPrimitiveArray.class, client.target(generateBaseUrl())).build();
}