@Test public void canParseMediaTypesWithUnquotedParameterValues() throws Exception { final MediaType actual=verifyParam("myparam", "unquoted-value"); assertThat(actual.parameters().get("myparam"),equalTo("unquoted-value")); }
@Override public Map<String,String> parameters() { return this.parameters; }
ImmutableMediaType implements MediaType { @Override public Map<String,String> parameters() { return this.parameters; } }
ImmutableMediaType implements MediaType { @Override public Map<String,String> parameters() { return this.parameters; } ImmutableMediaType(final MediaRangeSyntax syntax, final String type, final String subtype, String suffix, final Map<String, String> parameters); }
ImmutableMediaType implements MediaType { @Override public Map<String,String> parameters() { return this.parameters; } ImmutableMediaType(final MediaRangeSyntax syntax, final String type, final String subtype, String suffix, final Map<String, String> parameters); @Override String type(); @Override String subType(); @Override Charset charset(); @Override String suffix(); @Override Map<String,String> parameters(); @Override boolean isWildcard(); @Override String toHeader(); @Override int hashCode(); @Override boolean equals(final Object other); @Override String toString(); }
ImmutableMediaType implements MediaType { @Override public Map<String,String> parameters() { return this.parameters; } ImmutableMediaType(final MediaRangeSyntax syntax, final String type, final String subtype, String suffix, final Map<String, String> parameters); @Override String type(); @Override String subType(); @Override Charset charset(); @Override String suffix(); @Override Map<String,String> parameters(); @Override boolean isWildcard(); @Override String toHeader(); @Override int hashCode(); @Override boolean equals(final Object other); @Override String toString();  }