STEP: Create Dynamic Web Project with JAX-RS Support
STEP: Create RestService and BeanClass with field annotated with @QueryParam
@Path( "/ rest " )
public class RestService {
@POST
public void post(@BeanParam BeanClass bean) {
}
}
public class BeanClass {
@QueryParam( "author" )
private String author;
}
STEP: Remove the @QueryParam from BeanClass (but don't save the file)
FAIL: There is no update in JAX-RS Explorer(URI is still /rest?author=
{String} )
STEP: Wait a few seconds and save the file
FAIL: There is no update in JAX-RS Explorer(URI is still /rest?author={String}
)