org.glassfish.jersey.examples.managedclient
Class InternalResource

java.lang.Object
  extended by org.glassfish.jersey.examples.managedclient.InternalResource

@Path(value="internal")
public class InternalResource
extends Object

Internal resource accessed from the managed client resource.

Author:
Marek Potociar (marek.potociar at oracle.com)

Constructor Summary
InternalResource()
           
 
Method Summary
 String getA()
           
 String getB()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalResource

public InternalResource()
Method Detail

getA

@GET
@Path(value="a")
@CustomHeaderFeature.Require(headerName="custom-header",
                             headerValue="a")
public String getA()

getB

@GET
@Path(value="b")
@CustomHeaderFeature.Require(headerName="custom-header",
                             headerValue="b")
public String getB()


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.