Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-540

Document Client side Provider / Interceptor registration

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 1.2.1.GA
    • Fix Version/s: None
    • Component/s: jaxrs
    • Labels:
      None
    • Environment:

      JBoss EAP 5.1

    • Affects:
      Documentation (Ref Guide, User Guide, etc.)

      Description

      Make sure the interceptor class must be annotated with

      • @Provider
      • @org.jboss.resteasy.annotations.interception.ClientInterceptor

      Add a file to your JAR META-INF/services/javax.ws.rs.ext.Providers and specify fully qualified clsasnames of the providers you wan to register such as:

      com.jboss.examples.resteasy.ClientHeaderInterceptor

      I believe there is another way to register it programatically also.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bill.burke Bill Burke
                Reporter:
                bmaxwell Brad Maxwell
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: