Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16329 Support JAX-RS 2.0
  3. JBIDE-16829

Provide hyperlink navigation between Filter/Interceptors and other resources

    Details

    • Sprint:
      Sprint to Beta3 Release
    • Release Notes Text:
      (see description for explanation of this feature)

      Description

      When a Filter or Interceptor is annotated with a user-defined name binding annotation (ie, an annotation itself annotated with @NameBinding), then some hyperlink navigation on this annotation should let the user navigate to the associated resources/resource methods/application that have the same user-defined annotation.

      Eg:

      @Target({ ElementType.TYPE, ElementType.METHOD })
      @Retention(value = RetentionPolicy.RUNTIME)
      @NameBinding
      public @interface CustomInterceptorBinding {
      
      }
      

      and

      @ApplicationPath("/app")
      @CustomInterceptorBinding 
      public class RestApplication extends Application {
      
      }
      

      and

      @Provider
      @CustomInterceptorBinding
      public class CustomResponseFilterWithBinding implements ContainerResponseFilter {
      
      	@Override
      	public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext)
      			throws IOException {
      		responseContext.getHeaders().add("Cache-Control", "no-cache");
      	}
      	
      }
      

      In that case, ctrl (or cmd) + click on CustomInterceptorBinding should allow for navigation between all those 3 elements

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                xcoulon Xavier Coulon
                Reporter:
                xcoulon Xavier Coulon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: