From 5535f8740060e3f237cc12124dd892565d6d2814 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 30 Oct 2018 15:56:42 +0100 Subject: Fill example site with Lorem Ipsum --- exampleSite/content/docs/jersey-configuration.md | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 exampleSite/content/docs/jersey-configuration.md (limited to 'exampleSite/content/docs/jersey-configuration.md') diff --git a/exampleSite/content/docs/jersey-configuration.md b/exampleSite/content/docs/jersey-configuration.md deleted file mode 100644 index b5cd3c6..0000000 --- a/exampleSite/content/docs/jersey-configuration.md +++ /dev/null @@ -1,20 +0,0 @@ -## Jersey configuration -### Simple configuration -This will assume default configuration with no interceptor and Grizzly client -```java -resourceConfig.register(RxJerseyServerFeature.class); -resourceConfig.register(RxJerseyClientFeature.class); -``` - -### Detailed configuration -This configuration will add async request interceptor and override default client -```java -RxJerseyServerFeature rxJerseyServerFeature = new RxJerseyServerFeature() - .register(AuthRequestInterceptor.class); - -RxJerseyClientFeature rxJerseyClientFeature = new RxJerseyClientFeature() - .register(client); // Should be non-blocking client implementation - -resourceConfig.register(rxJerseyServerFeature); -resourceConfig.register(rxJerseyClientFeature); -``` \ No newline at end of file -- cgit v1.2.3