/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.keycloak.common.url;
/**
* @author Stian Thorgersen
public class ResourcePathParameters {
private String path = "/";
private String query = "";
private String fragment = "";
public ResourcePathParameters() {
super();
}
public ResourcePathParameters(ResourcePathParameters resourcePathParameters) {
super(resourcePathParameters);
this.path = resourcePathParameters.path;
this.query = resourcePathParameters.query;
this.fragment = resourcePathParameters.fragment;
public ResourcePathParameters(String path, String query) {
this.path = path;
this.query = query;
public String getPath() {
return path;
public void setPath(String path) {
public String getQuery() {
return query;
Related links:
Comments