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

io.femo.http.drivers.server.HttpHandle Maven / Gradle / Ivy

Go to download

An easy to use HTTP API, that supports synchronous and asynchronous execution of HTTP request. On android only asynchronous driver is supported. This library has been backported to jdk 7 to retain compatibility with android!

The newest version!
package io.femo.http.drivers.server;

import io.femo.http.HttpHandleException;
import io.femo.http.HttpRequest;
import io.femo.http.HttpResponse;

/**
 * Created by felix on 4/26/16.
 */
public interface HttpHandle {

    boolean matches(HttpRequest request);

    boolean handle(HttpRequest request, HttpResponse response) throws HttpHandleException;

    void parentPath(String path);

    void prependPath(String path);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy