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 * <p> 021 * These are properties specified for a single HTTP request that extends the properties defined on {@link RestMethodProperties} 022 * and are accessible and modifiable through the following: 023 * <ul> 024 * <li class='jm'>{@link RestRequest#getProperties()} 025 * <li class='jm'>{@link RestRequest#prop(String, Object)} 026 * <li class='jm'>{@link RestResponse#getProperties()} 027 * <li class='jm'>{@link RestResponse#prop(String, Object)} 028 * </ul> 029 * 030 * <ul class='seealso'> 031 * <li class='link'>{@doc juneau-rest-server.ConfigurableProperties} 032 * </ul> 033 * @deprecated Use {@link RequestAttributes} 034 */ 035@SuppressWarnings("serial") 036@Deprecated 037public class RequestProperties extends ResolvingObjectMap { 038 039 /** 040 * Constructor 041 * 042 * @param varResolver The request variable resolver session. 043 * @param inner The inner properties defined on the resource context. 044 */ 045 public RequestProperties(VarResolverSession varResolver, RestMethodProperties inner) { 046 super(varResolver); 047 setInner(inner); 048 } 049}