Class MethodSelectingRouter.ConsumesProducesAcceptor

java.lang.Object
org.glassfish.jersey.server.internal.routing.MethodSelectingRouter.ConsumesProducesAcceptor
Enclosing class:
MethodSelectingRouter

private static class MethodSelectingRouter.ConsumesProducesAcceptor extends Object
Represents a 1-1-1 relation between input and output media type and an methodAcceptorPair.

E.g. for a single resource method

   @Consumes("*/*")
   @Produces("text/plain","text/html")
   @GET
   public String myGetMethod() {
     return "S";
   }
 
the following two relations would be generated:
consumes produces method
*/* text/plain myGetMethod
*/* text/html myGetMethod