restx.entity.MatchedEntityOutputRoute Maven / Gradle / Ivy
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;
}