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

com.clouway.friendlyserve.Fork Maven / Gradle / Ivy

There is a newer version: 0.1.5
Show newest version
package com.clouway.friendlyserve;

import com.google.common.base.Optional;

import java.io.IOException;

/**
 * Fork.
 *
 * @author Miroslav Genov ([email protected])
 */
public interface Fork {

  /**
   * Routes the provided request and returns response.
   *
   * @param request the request to be routed
   * @return an optional response
   * @throws IOException is thrown if IO error occurrs during processing
   */
  Optional route(Request request) throws IOException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy