@Test public void singleSubtypeWildcardMediaRange() { final String anySubtype = APPLICATION_ANY.getMediaType(); final AcceptHeader acceptHeader = new AcceptHeader(anySubtype); assertEquals(1, acceptHeader.getAccepts().size()); assertEquals(anySubtype, acceptHeader.getAccepts().get(0).getMediaRange()); }
public List<Accept> getAccepts() { return accepts; }
AcceptHeader { public List<Accept> getAccepts() { return accepts; } }
AcceptHeader { public List<Accept> getAccepts() { return accepts; } AcceptHeader(final String headerValue); }
AcceptHeader { public List<Accept> getAccepts() { return accepts; } AcceptHeader(final String headerValue); List<Accept> getAccepts(); }
AcceptHeader { public List<Accept> getAccepts() { return accepts; } AcceptHeader(final String headerValue); List<Accept> getAccepts();  }