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

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

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

import io.vertx.up.atom.agent.Event;
import io.vertx.up.commune.Envelop;
import io.vertx.up.exception.WebException;
import io.vertx.up.uca.rs.mime.parse.Income;

/**
 * Mime resolution for web request
 * 1. Server Driven
 * 1.1. Content-Type
 * 1.2. Content-Length
 * 1.3. Content-Encoding
 * 2. Client Driven
 * 2.1. Accept
 * 2.2. Accept-Charset
 * 2.3. Accept-Encoding
 * 2.4. Accept-Language
 * 3. Vary
 * New resource model usage for this analyzer.
 */
public interface Analyzer extends Income {
    /**
     * response mime analyzing
     *
     * @param envelop
     * @param event
     * @return
     * @throws WebException
     */
    Envelop out(Envelop envelop, Event event)
            throws WebException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy