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

restx.entity.MatchedEntityOutputRoute Maven / Gradle / Ivy

There is a newer version: 1.2.0-rc2
Show newest version
package restx.entity;

import com.google.common.base.Optional;
import restx.RestxRequest;
import restx.RestxRequestMatch;

import java.io.IOException;

/**
 * Date: 26/11/13
 * Time: 23:16
 */
public abstract class MatchedEntityOutputRoute implements MatchedEntityRoute {
    @Override
    public Optional route(RestxRequest restxRequest, RestxRequestMatch match, Void input) throws IOException {
        return route(restxRequest, match);
    }

    protected abstract Optional route(RestxRequest restxRequest, RestxRequestMatch match) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy