亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? defaultsessionattributestore.java

?? spring framework 2.5.4源代碼
?? JAVA
字號:
/*
 * Copyright 2002-2007 the original author or authors.
 *
 * 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
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * 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.springframework.web.bind.support;

import org.springframework.util.Assert;
import org.springframework.web.context.request.WebRequest;

/**
 * Default implementation of the {@link SessionAttributeStore} interface,
 * storing the attributes in the WebRequest session (i.e. HttpSession
 * or PortletSession).
 *
 * @author Juergen Hoeller
 * @since 2.5
 * @see #setAttributeNamePrefix
 * @see org.springframework.web.context.request.WebRequest#setAttribute
 * @see org.springframework.web.context.request.WebRequest#getAttribute
 * @see org.springframework.web.context.request.WebRequest#removeAttribute
 */
public class DefaultSessionAttributeStore implements SessionAttributeStore {

	private String attributeNamePrefix = "";


	/**
	 * Specify a prefix to use for the attribute names in the backend session.
	 * <p>Default is to use no prefix, storing the session attributes with the
	 * same name as in the model.
	 */
	public void setAttributeNamePrefix(String attributeNamePrefix) {
		this.attributeNamePrefix = (attributeNamePrefix != null ? attributeNamePrefix : "");
	}


	public void storeAttribute(WebRequest request, String attributeName, Object attributeValue) {
		Assert.notNull(request, "WebRequest must not be null");
		Assert.notNull(attributeName, "Attribute name must not be null");
		Assert.notNull(attributeValue, "Attribute value must not be null");
		String storeAttributeName = getAttributeNameInSession(request, attributeName);
		request.setAttribute(storeAttributeName, attributeValue, WebRequest.SCOPE_SESSION);
	}

	public Object retrieveAttribute(WebRequest request, String attributeName) {
		Assert.notNull(request, "WebRequest must not be null");
		Assert.notNull(attributeName, "Attribute name must not be null");
		String storeAttributeName = getAttributeNameInSession(request, attributeName);
		return request.getAttribute(storeAttributeName, WebRequest.SCOPE_SESSION);
	}

	public void cleanupAttribute(WebRequest request, String attributeName) {
		Assert.notNull(request, "WebRequest must not be null");
		Assert.notNull(attributeName, "Attribute name must not be null");
		String storeAttributeName = getAttributeNameInSession(request, attributeName);
		request.removeAttribute(storeAttributeName, WebRequest.SCOPE_SESSION);
	}


	/**
	 * Calculate the attribute name in the backend session.
	 * <p>The default implementation simply prepends the configured
	 * {@link #setAttributeNamePrefix "attributeNamePrefix"}, if any.
	 * @param request the current request
	 * @param attributeName the name of the attribute
	 * @return the attribute name in the backend session
	 */
	protected String getAttributeNameInSession(WebRequest request, String attributeName) {
		return this.attributeNamePrefix + attributeName;
	}

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久日一线二线三线suv| 一区二区中文字幕在线| 91视视频在线直接观看在线看网页在线看| 一区二区三区四区在线免费观看| 国产精品乱人伦中文| 国产女同互慰高潮91漫画| 久久亚洲欧美国产精品乐播| 日韩免费观看2025年上映的电影 | 亚洲免费在线观看| 国产高清久久久久| 蜜臀va亚洲va欧美va天堂| 亚洲国产激情av| 色综合一个色综合| 91丨porny丨最新| 国产自产高清不卡| 国产欧美一区二区精品仙草咪| 亚洲欧洲99久久| 国产一区二区视频在线| 日韩欧美美女一区二区三区| 欧美一区二区三区四区视频| 欧美一区午夜精品| 久久蜜臀中文字幕| 亚洲国产精品久久久久秋霞影院| 亚洲一卡二卡三卡四卡五卡| 久久丁香综合五月国产三级网站| 成人一区二区三区视频在线观看| 色嗨嗨av一区二区三区| 欧美无砖专区一中文字| 日韩免费成人网| 亚洲人xxxx| 国产精品一区二区三区乱码| 欧美日韩高清影院| 亚洲欧美中日韩| 国产成人鲁色资源国产91色综 | 看电影不卡的网站| 性久久久久久久| 狠狠色丁香婷婷综合久久片| 成人动漫在线一区| 亚洲国产精品一区二区久久恐怖片| 性感美女久久精品| 欧美日韩电影一区| 日日嗨av一区二区三区四区| 亚洲欧美日韩中文播放 | 全国精品久久少妇| 国产精品69毛片高清亚洲| 91网站黄www| 亚洲高清免费一级二级三级| 欧美福利视频一区| 国产欧美中文在线| 国产盗摄精品一区二区三区在线| 粉嫩欧美一区二区三区高清影视 | 久久久美女艺术照精彩视频福利播放| 亚洲成人一区二区在线观看| 国产不卡视频在线观看| 91精品国产一区二区三区| 在线精品视频免费观看| 日韩午夜中文字幕| 视频一区国产视频| 日韩欧美的一区| 午夜在线电影亚洲一区| 亚洲sss视频在线视频| 欧美日韩一区精品| 成人精品高清在线| 欧美日韩中文字幕一区| 自拍偷自拍亚洲精品播放| 91麻豆精品国产91久久久使用方法| 国产精品美女久久久久久久久| 欧美三级电影网| 成人爱爱电影网址| 日韩av一区二| 亚洲免费观看高清完整版在线观看 | 麻豆一区二区三| 亚洲女子a中天字幕| 欧美不卡一区二区三区四区| 欧美天天综合网| 色欧美88888久久久久久影院| 国产美女在线观看一区| 日韩成人av影视| 偷窥少妇高潮呻吟av久久免费| 亚洲一区影音先锋| 久久99热这里只有精品| 麻豆91小视频| 国产69精品久久久久毛片| 怡红院av一区二区三区| 亚洲伦在线观看| 国产成人免费视频网站高清观看视频| 亚洲最大色网站| 成年人网站91| 国产一区二区三区黄视频 | 91久久精品国产91性色tv| 国产.精品.日韩.另类.中文.在线.播放 | 亚洲国产精品v| 欧美日韩不卡在线| 成人av网址在线| 国产91精品入口| 91精品综合久久久久久| av男人天堂一区| 国产精品一区在线| 91蜜桃在线免费视频| 欧美韩国一区二区| 不卡一区二区在线| 久久99精品视频| 国产美女视频91| 欧美最猛性xxxxx直播| 国产一区三区三区| 久久疯狂做爰流白浆xx| 欧美日韩精品一区二区| 中文字幕第一区综合| 91在线视频免费91| 国产女主播视频一区二区| 91社区在线播放| 亚洲午夜羞羞片| 国产欧美精品一区二区三区四区| 夜夜嗨av一区二区三区中文字幕| 美女性感视频久久| 久久这里只有精品视频网| 成人毛片视频在线观看| 午夜伦欧美伦电影理论片| 精品美女在线播放| 在线中文字幕一区二区| 欧美日韩电影在线| 婷婷开心激情综合| 免费成人在线网站| 亚洲午夜一区二区| 1区2区3区精品视频| 日韩区在线观看| 日韩午夜激情av| 日韩手机在线导航| 成人国产精品免费观看视频| 欧美美女一区二区在线观看| 成人免费视频app| 制服丝袜日韩国产| 日韩av在线播放中文字幕| 欧美国产日本视频| 国产成人免费网站| 蜜臀av性久久久久av蜜臀妖精| 国产精品美日韩| 67194成人在线观看| 欧美色视频在线观看| 成人免费观看男女羞羞视频| 日韩综合小视频| 亚洲成人综合视频| 国产精品久久久99| 国产丝袜美腿一区二区三区| 欧美精品1区2区3区| 99精品视频在线观看| 不卡一区二区三区四区| 美女mm1313爽爽久久久蜜臀| 五月天激情综合| 中文字幕第一区综合| 精品久久久久久久人人人人传媒| 欧美中文字幕一区| 欧美三区免费完整视频在线观看| 国产suv精品一区二区6| 亚洲成人免费在线观看| 国产精品萝li| 色婷婷一区二区| 中文字幕电影一区| 亚洲欧美偷拍卡通变态| 国产婷婷色一区二区三区四区| 欧美高清在线一区| 久久久精品人体av艺术| 中文字幕第一区第二区| 亚洲国产岛国毛片在线| 国产精品国产三级国产普通话蜜臀 | 久久99国产精品成人| 亚洲午夜精品在线| 亚洲啪啪综合av一区二区三区| 亚洲四区在线观看| 亚洲免费观看在线视频| 国产日产欧美一区| 亚洲美女免费在线| 亚洲精品视频在线| 天天影视涩香欲综合网| 天天色天天操综合| 伊人开心综合网| 亚洲成人www| 免费在线观看一区| 成人精品亚洲人成在线| av电影在线观看不卡| 欧美精选在线播放| 欧美一区二区三区婷婷月色| 日韩一级欧美一级| 久久精品一区二区三区不卡| 国产色91在线| 亚洲成人一二三| 日韩中文欧美在线| 成人综合婷婷国产精品久久蜜臀| 国产不卡免费视频| 国产一区福利在线| 日本高清免费不卡视频| 91精品国产综合久久福利| 国产成人av一区| 91老司机福利 在线| 制服视频三区第一页精品| 精品国产乱码久久久久久夜甘婷婷 | 久久精品一区二区三区av| 一区二区三区欧美久久| 美女网站色91| 欧美私人免费视频|