org.jboss.resteasy.util.PrefixedFormFieldsHttpRequest Maven / Gradle / Ivy
package org.jboss.resteasy.util;
import org.jboss.resteasy.spi.HttpRequest;
import javax.ws.rs.core.MultivaluedMap;
public class PrefixedFormFieldsHttpRequest extends DelegatingHttpRequest {
private final String prefix;
public PrefixedFormFieldsHttpRequest(final String prefix, final HttpRequest request) {
super(request);
this.prefix = prefix;
}
@Override
public MultivaluedMap getDecodedFormParameters() {
return new PrefixedMultivaluedMap(prefix, super.getDecodedFormParameters());
}
}