org.zalando.riptide.RequestArguments Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of riptide-core Show documentation
Show all versions of riptide-core Show documentation
Client side response routing
package org.zalando.riptide;
import org.apiguardian.api.API;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpOutputMessage;
import javax.annotation.Nullable;
import java.io.IOException;
import java.net.URI;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import static org.apiguardian.api.API.Status.STABLE;
@API(status = STABLE)
public interface RequestArguments {
interface Entity {
void writeTo(HttpOutputMessage message) throws IOException;
default boolean isEmpty() {
return false;
}
}
URI getBaseUrl();
UrlResolution getUrlResolution();
HttpMethod getMethod();
String getUriTemplate();
List