io.muserver.rest.MuUriInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mu-server Show documentation
Show all versions of mu-server Show documentation
A simple but powerful web server framework
package io.muserver.rest;
import io.muserver.Mutils;
import io.netty.handler.codec.http.QueryStringDecoder;
import javax.ws.rs.core.*;
import java.net.URI;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import static io.muserver.Mutils.urlDecode;
import static io.muserver.rest.ReadOnlyMultivaluedMap.readOnly;
import static java.util.stream.Collectors.toList;
class MuUriInfo implements UriInfo {
static {
MuRuntimeDelegate.ensureSet();
}
private final URI baseUri;
private final URI requestUri;
private final String encodedRelativePath;
private final List matchedURIs;
private final List