2 * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.restconf.nb.rfc8040;
10 import static java.util.Objects.requireNonNull;
12 import org.eclipse.jdt.annotation.NonNullByDefault;
13 import org.opendaylight.yangtools.concepts.Immutable;
16 * This class represents a {@code point} parameter as defined in
17 * <a href="https://datatracker.ietf.org/doc/html/rfc8040#section-4.8.4">RFC8040 section 4.8.4</a>.
20 public final class PointParameter implements Immutable {
21 // FIXME: This should be ApiPath
22 private final String value;
24 private PointParameter(final String value) {
25 this.value = requireNonNull(value);
28 public static PointParameter forUriValue(final String uriValue) {
29 return new PointParameter(uriValue);
32 public static String uriName() {
36 public String value() {