001// ***************************************************************************************************************************
002// * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.  See the NOTICE file *
003// * distributed with this work for additional information regarding copyright ownership.  The ASF licenses this file        *
004// * to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance            *
005// * with the License.  You may obtain a copy of the License at                                                              *
006// *                                                                                                                         *
007// *  http://www.apache.org/licenses/LICENSE-2.0                                                                             *
008// *                                                                                                                         *
009// * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an  *
010// * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the License for the        *
011// * specific language governing permissions and limitations under the License.                                              *
012// ***************************************************************************************************************************
013package org.apache.juneau.rest;
014
015import org.apache.juneau.svl.*;
016
017/**
018 * Encapsulates request-level properties.
019 *
020 * <div class='warn'>
021 *    <b>Deprecated</b> - Use {@link RequestAttributes}
022 * </div>
023 *
024 * <p>
025 * These are properties specified for a single HTTP request that extends the properties defined on {@link RestMethodProperties}
026 * and are accessible and modifiable through the following:
027 * <ul>
028 *    <li class='jm'>{@link RestRequest#getProperties()}
029 *    <li class='jm'>{@link RestRequest#prop(String, Object)}
030 *    <li class='jm'>{@link RestResponse#getProperties()}
031 *    <li class='jm'>{@link RestResponse#prop(String, Object)}
032 * </ul>
033 *
034 * <ul class='seealso'>
035 *    <li class='link'>{@doc RestConfigurableProperties}
036 * </ul>
037 */
038@SuppressWarnings("serial")
039@Deprecated
040public class RequestProperties extends ResolvingOMap {
041
042   /**
043    * Constructor
044    *
045    * @param varResolver The request variable resolver session.
046    * @param inner The inner properties defined on the resource context.
047    */
048   public RequestProperties(VarResolverSession varResolver, RestMethodProperties inner) {
049      super(varResolver);
050      setInner(inner);
051   }
052}