org.codingmatters.rest.api.RequestDelegate Maven / Gradle / Ivy
The newest version!
package org.codingmatters.rest.api;
import java.io.InputStream;
import java.util.List;
import java.util.Map;
import java.util.regex.Matcher;
/**
* Created by nelt on 4/27/17.
*/
public interface RequestDelegate extends AutoCloseable {
String path();
Matcher pathMatcher(String regex);
Method method();
InputStream payload();
String contentType();
Map> uriParameters(String pathExpression);
Map> queryParameters();
Map> headers();
String absolutePath(String relative);
enum Method {
GET, POST, PUT, PATCH, DELETE, HEAD, UNIMPLEMENTED;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy