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

io.vertx.up.uca.rs.mime.Resolver Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.uca.rs.mime;

import io.vertx.ext.web.RoutingContext;
import io.vertx.up.atom.Epsilon;
import io.vertx.up.exception.WebException;

/**
 * # 「Co」Zero Resolver
 *
 * The interface that zero provide for request content resolving for
 *
 * 1. Data Format Conversation
 * 2. Default Value Setting
 *
 * @param  generic type
 *
 * @author Lang
 */
public interface Resolver {
    /**
     * Critical: You should call `setValue` in your code logical or you'll get null value
     *
     * @param context Vertx-web RoutingContext reference
     * @param income  Zero definition of {@link io.vertx.up.atom.Epsilon} class
     *
     * @return The same type of {@link io.vertx.up.atom.Epsilon} class
     * @throws WebException When some error occurs, throw WebException out
     */
    Epsilon resolve(RoutingContext context,
                       Epsilon income);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy