![JAR search and dependency download from the Maven repository](/logo.png)
io.femo.http.drivers.server.HttpHandle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-jdk7 Show documentation
Show all versions of http-jdk7 Show documentation
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