Skip to content
Browse files

Added API Documentation.

Added copyright headers.
  • Loading branch information...
1 parent cc223d5 commit 6ea4a4079e69cfdca08a12cd2e278eab75fb506e hstaudacher committed Nov 26, 2012
Showing with 321 additions and 0 deletions.
  1. +41 −0 com.eclipsesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/ConsumerFactory.java
  2. +30 −0 com.eclipsesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/ConsumerPublisher.java
  3. +10 −0 com.eclipsesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/Activator.java
  4. +10 −0 com.eclipsesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/ClientHelper.java
  5. +10 −0 ...psesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/ConsumerPublisherImpl.java
  6. +10 −0 ...eclipsesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/RequestConfigurer.java
  7. +10 −0 ...ource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/ResourceInvocationHandler.java
  8. +10 −0 ....jaxrs.consumer.example.caller/src/com/eclipsesource/jaxrs/consumer/example/caller/Activator.java
  9. +10 −0 ...eclipsesource.jaxrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/GitHubUser.java
  10. +10 −0 ...ource.jaxrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/GitHubUserProvider.java
  11. +10 −0 ...clipsesource.jaxrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/GitHubUsers.java
  12. +10 −0 ...s/com.eclipsesource.jaxrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/Main.java
  13. +10 −0 ....eclipsesource.jaxrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/Publisher.java
  14. +10 −0 .../com.eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/AcceptHeaderTest.java
  15. +10 −0 ...lipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/AdvancedGetRequestsTest.java
  16. +10 −0 ...ipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/AdvancedPostReuqestsTest.java
  17. +10 −0 ...lipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/AdvancedPutRequestsTest.java
  18. +10 −0 ...m.eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/ConsumerFactoryTest.java
  19. +10 −0 ...s/com.eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/ContentTypeTest.java
  20. +10 −0 ...om.eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/CustomProviderTest.java
  21. +10 −0 ....eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/ExceptionalFlowTests.java
  22. +10 −0 tests/com.eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/HeaderTest.java
  23. +10 −0 tests/com.eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/PathParamTest.java
  24. +10 −0 ...om.eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/SimpleRequestsTest.java
  25. +10 −0 ...clipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/internal/ActivatorTest.java
  26. +10 −0 ....jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/internal/ConsumerPublisherImplTest.java
  27. +10 −0 tests/com.eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/test/TestUtil.java
View
41 com.eclipsesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/ConsumerFactory.java
@@ -1,20 +1,61 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import java.lang.reflect.Proxy;
import java.net.MalformedURLException;
import java.net.URL;
import javax.ws.rs.Path;
+import javax.ws.rs.ext.Provider;
import com.eclipsesource.jaxrs.consumer.internal.ResourceInvocationHandler;
+/**
+ * <p>
+ * A static factory for creating consumer objects out of <code>@Path</code> annotated interfaces.
+ * </p>
+ *
+ * @see Path
+ * @see Provider
+ */
public class ConsumerFactory {
+ /**
+ * <p>
+ * Creates a consumer object out of a <code>@Path</code> interface. It will create a proxy object of the interface
+ * that calls the specified service using the passed in base url.
+ * </p>
+ *
+ * @param baseUrl The server url hosting the specified service.
+ * @param type The <code>@Path</code> annotated interface class object.
+ * @return a proxy object for the passed in type.
+ */
public static <T> T createConsumer( String baseUrl, Class<T> type ) {
return createConsumer( baseUrl, type, new Object[] {} );
}
+ /**
+ * <p>
+ * Creates a consumer object out of a <code>@Path</code> interface. It will create a proxy object of the interface
+ * that calls the specified service using the passed in base url. The de/serialization is done using the passed in
+ * <code>@Provider</code> objects.
+ * </p>
+ *
+ * @param baseUrl The server url hosting the specified service.
+ * @param type The <code>@Path</code> annotated interface class object.
+ * @param customProvider An array of <code>@Provider</code> object for de/serialization.
+ * @return a proxy object for the passed in type.
+ */
@SuppressWarnings( "unchecked" )
public static <T> T createConsumer( String baseUrl, Class<T> type, Object... customProvider ) {
validateArguments( baseUrl, type );
View
30 com.eclipsesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/ConsumerPublisher.java
@@ -1,8 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
+import javax.ws.rs.Path;
+import javax.ws.rs.ext.Provider;
+
+/**
+ * <p>
+ * When running in an OSGi environment this interface will be registered as OSGi service. It's usage is for
+ * creating consumer objects out of <code>@Path</code> interfaces and register them as OSGi services too.
+ * </p>
+ *
+ * @see ConsumerFactory
+ * @see Path
+ * @see Provider
+ */
public interface ConsumerPublisher {
+ /**
+ * <p>
+ * Creates consumer objets. See the {@link ConsumerFactory} for a detailed description. When the consumers
+ * are created they will be registered as OSGi services and can be consumed from other bundles.
+ * </p>
+ * @see ConsumerFactory
+ */
void publishConsumers( String baseUrl, Class<?>[] types, Object[] providers );
}
View
10 ...eclipsesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/Activator.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.internal;
import org.osgi.framework.BundleActivator;
View
10 ...ipsesource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/ClientHelper.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.internal;
import java.security.SecureRandom;
View
10 ...e.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/ConsumerPublisherImpl.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.internal;
import java.util.ArrayList;
View
10 ...ource.jaxrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/RequestConfigurer.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.internal;
import java.lang.annotation.Annotation;
View
10 ...xrs.consumer/src/com/eclipsesource/jaxrs/consumer/internal/ResourceInvocationHandler.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.internal;
import java.lang.annotation.Annotation;
View
10 ...onsumer.example.caller/src/com/eclipsesource/jaxrs/consumer/example/caller/Activator.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.example.caller;
import org.osgi.framework.BundleActivator;
View
10 ...ource.jaxrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/GitHubUser.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.example;
View
10 ...xrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/GitHubUserProvider.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.example;
import java.io.BufferedReader;
View
10 ...urce.jaxrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/GitHubUsers.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.example;
import javax.ws.rs.GET;
View
10 ...lipsesource.jaxrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/Main.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.example;
import com.eclipsesource.jaxrs.consumer.ConsumerFactory;
View
10 ...source.jaxrs.consumer.example/src/com/eclipsesource/jaxrs/consumer/example/Publisher.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.example;
import com.eclipsesource.jaxrs.consumer.ConsumerPublisher;
View
10 ...ipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/AcceptHeaderTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.eclipsesource.jaxrs.consumer.test.TestUtil.createResource;
View
10 ...rce.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/AdvancedGetRequestsTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.eclipsesource.jaxrs.consumer.test.TestUtil.createResource;
View
10 ...ce.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/AdvancedPostReuqestsTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.eclipsesource.jaxrs.consumer.test.TestUtil.createResource;
View
10 ...rce.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/AdvancedPutRequestsTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.eclipsesource.jaxrs.consumer.test.TestUtil.createResource;
View
10 ...esource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/ConsumerFactoryTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import javax.ws.rs.GET;
View
10 ...lipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/ContentTypeTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.eclipsesource.jaxrs.consumer.test.TestUtil.createResource;
View
10 ...sesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/CustomProviderTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.github.restdriver.clientdriver.ClientDriverRequest.Method.GET;
View
10 ...source.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/ExceptionalFlowTests.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.eclipsesource.jaxrs.consumer.test.TestUtil.createResource;
View
10 ...om.eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/HeaderTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.eclipsesource.jaxrs.consumer.test.TestUtil.createResource;
View
10 ...eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/PathParamTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.eclipsesource.jaxrs.consumer.test.TestUtil.createResource;
View
10 ...sesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/SimpleRequestsTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer;
import static com.eclipsesource.jaxrs.consumer.test.TestUtil.createResource;
View
10 ...urce.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/internal/ActivatorTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.internal;
import static org.mockito.Matchers.any;
View
10 ...onsumer.test/src/com/eclipsesource/jaxrs/consumer/internal/ConsumerPublisherImplTest.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.internal;
import static org.mockito.Matchers.any;
View
10 ...eclipsesource.jaxrs.consumer.test/src/com/eclipsesource/jaxrs/consumer/test/TestUtil.java
@@ -1,3 +1,13 @@
+/*******************************************************************************
+ * Copyright (c) 2012 EclipseSource and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Holger Staudacher - initial API and implementation
+ ******************************************************************************/
package com.eclipsesource.jaxrs.consumer.test;
import java.io.BufferedReader;

0 comments on commit 6ea4a40

Please sign in to comment.
Something went wrong with that request. Please try again.