jersey
  1. jersey
  2. JERSEY-1229

Programmatic API should work with Inflector<ContainerRequestContext, Object>.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-m06, 2.0
    • Component/s: None
    • Labels:
      None

      Description

      Current programmatic API has method:

      public Builder handledBy(Inflector<Request, ?> inflector);

      From the given Request the user cannot extracts header in apply(Request) method. Injecting the header is not suitable solution when implementation of the inflector is annonymous inner class.

      instead of it the ContainerRequestContext should be used:

      public Builder handledBy(Inflector<ContainerRequestContext, ?> inflector).

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Miroslav Fuksa
            Reporter:
            Miroslav Fuksa
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 12 hours
              12h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 6 hours Time Not Required
              6h