Hi Sergey,

The resource class like this:

@Path("resource")
public class Resource {

        public static final long SLEEP_TIME = 1500L;

        @GET
        @Path("get")
        public String get() {
                return "get";
        }
        
        @POST
        @Path("post")
        public String post(String value) {
                return value;
        }



And my Link is got from:

Link.Builder builder = Link.fromMethod(Resource.class,
                                                "post").rel(linkName);
Link link = builder.build();

So the link value is "post"

Thanks!



--
View this message in context: 
http://cxf.547215.n5.nabble.com/The-logic-of-Response-getAllLinks-method-is-not-good-tp5756610p5756692.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Reply via email to