Class PublicResource

java.lang.Object
org.glassfish.jersey.examples.managedclient.PublicResource

@Path("public") public class PublicResource extends Object
A resource that uses managed clients to retrieve values of internal resources 'A' and 'B', which are protected by a CustomHeaderFilter and require a specific custom header in a request to be set to a specific value.

Properly configured managed clients have a CustomHeaderFilter instance configured to insert the required custom header with a proper value into the outgoing client requests.

Author:
Marek Potociar