com.clouway.friendlyserve.Fork Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fserve Show documentation
Show all versions of fserve Show documentation
Friendly Serving HTTP Library.
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;
}