jersey
  1. jersey
  2. JERSEY-1512

UserDefined provider that should override standard entity providers is not used

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-m09
    • Fix Version/s: 2.0-m10
    • Component/s: core
    • Labels:
      None

      Description

      For instance:

      @Provider
      public class ByteArrayProvider implements
      		MessageBodyReader<byte[]>, MessageBodyWriter<byte[]> {
      ...
      }
      @Path("resource")
      public class Resource {
      	@Path("bytearray")
      	@POST
      	public byte[] bytearray(byte[] bytes) {
      		return bytes;
      	}
      }
      

      Standard provider is used, not ByteArrayProvider.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Pavel Bucek
            Reporter:
            jan.supol
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: