MultivaluedMap<String, String> form = new MultivaluedMapImpl();
try {
MessageBodyReader reader = context.getProviders().getMessageBodyReader(MultivaluedMap.class, formType, null,
contentType);
if (reader != null) {
form = (MultivaluedMap<String, String>) reader.readFrom(MultivaluedMap.class, formType, null, contentType,
context.getHttpHeaders().getRequestHeaders(), context.getContainerRequest().getEntityStream());
}
} catch (IllegalStateException e) {
if (log.isTraceEnabled()) {
log.trace(e.getMessage(), e);