package org.jboss.resteasy.test.warning.resource;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.core.Response;

/**
 * Created by rsearls on 9/11/17.
 */
@Path("test")
public class SubResourceWarningResource {

    @GET
    @Path("get")
    public Response getCookie() {
        TestSubResource sr = new TestSubResource();
        return Response.ok().entity(sr).build();
    }

    @Path("get")
    public String testString() {
        return "My test sub-locator.";
    }

}
