All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hcjf.io.net.http.RequestBodyDecoderLayer Maven / Gradle / Ivy

package org.hcjf.io.net.http;

import org.hcjf.layers.LayerInterface;

import java.util.Map;

/**
 * This class defines the interface to write the http request
 * body parser for each content type.
 * @author javaito
 */
public interface RequestBodyDecoderLayer extends LayerInterface {

    /**
     * Returns a map with the parameters parsed from the request body.
     * @param request Http request instance.
     * @return Map with all the parameters.
     */
    Map decode(HttpRequest request);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy