@Test public void testSupportedTypes() { assertThat(parser.getContentTypes()).containsExactly(MimeTypes.FORM, MimeTypes.MULTIPART); }
public List<String> getContentTypes() { return ImmutableList.of(MimeTypes.FORM, MimeTypes.MULTIPART); }
BodyParserForm implements BodyParser { public List<String> getContentTypes() { return ImmutableList.of(MimeTypes.FORM, MimeTypes.MULTIPART); } }
BodyParserForm implements BodyParser { public List<String> getContentTypes() { return ImmutableList.of(MimeTypes.FORM, MimeTypes.MULTIPART); }  }
BodyParserForm implements BodyParser { public List<String> getContentTypes() { return ImmutableList.of(MimeTypes.FORM, MimeTypes.MULTIPART); }  @Override T invoke(Context context, Class<T> classOfT, Type genericType); @Override T invoke(Context context, Class<T> classOfT); @Override T invoke(byte[] bytes, Class<T> classOfT); List<String> getContentTypes(); }
BodyParserForm implements BodyParser { public List<String> getContentTypes() { return ImmutableList.of(MimeTypes.FORM, MimeTypes.MULTIPART); }  @Override T invoke(Context context, Class<T> classOfT, Type genericType); @Override T invoke(Context context, Class<T> classOfT); @Override T invoke(byte[] bytes, Class<T> classOfT); List<String> getContentTypes();  }