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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? urlbasedviewresolver.java

?? spring framework 2.5.4源代碼
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
	 * <p>In the default implementation, this will enforce HTTP status code 302
	 * in any case, i.e. delegate to <code>HttpServletResponse.sendRedirect</code>.
	 * Turning this off will send HTTP status code 303, which is the correct
	 * code for HTTP 1.1 clients, but not understood by HTTP 1.0 clients.
	 * <p>Many HTTP 1.1 clients treat 302 just like 303, not making any
	 * difference. However, some clients depend on 303 when redirecting
	 * after a POST request; turn this flag off in such a scenario.
	 * <p><b>Redirect URLs can be specified via the "redirect:" prefix.</b>
	 * E.g.: "redirect:myAction.do"
	 * @see RedirectView#setHttp10Compatible
	 * @see #REDIRECT_URL_PREFIX
	 */
	public void setRedirectHttp10Compatible(boolean redirectHttp10Compatible) {
		this.redirectHttp10Compatible = redirectHttp10Compatible;
	}

	/**
	 * Return whether redirects should stay compatible with HTTP 1.0 clients.
	 */
	protected boolean isRedirectHttp10Compatible() {
		return this.redirectHttp10Compatible;
	}

	/**
	 * Set the name of the RequestContext attribute for all views.
	 * @param requestContextAttribute name of the RequestContext attribute
	 * @see AbstractView#setRequestContextAttribute
	 */
	public void setRequestContextAttribute(String requestContextAttribute) {
		this.requestContextAttribute = requestContextAttribute;
	}

	/**
	 * Return the name of the RequestContext attribute for all views, if any.
	 */
	protected String getRequestContextAttribute() {
		return this.requestContextAttribute;
	}

	/**
	 * Set static attributes from a <code>java.util.Properties</code> object,
	 * for all views returned by this resolver.
	 * <p>This is the most convenient way to set static attributes. Note that
	 * static attributes can be overridden by dynamic attributes, if a value
	 * with the same name is included in the model.
	 * <p>Can be populated with a String "value" (parsed via PropertiesEditor)
	 * or a "props" element in XML bean definitions.
	 * @see org.springframework.beans.propertyeditors.PropertiesEditor
	 * @see AbstractView#setAttributes
	 */
	public void setAttributes(Properties props) {
		setAttributesMap(props);
	}

	/**
	 * Set static attributes from a Map, for all views returned by this resolver.
	 * This allows to set any kind of attribute values, for example bean references.
	 * <p>Can be populated with a "map" or "props" element in XML bean definitions.
	 * @param attributes Map with name Strings as keys and attribute objects as values
	 * @see AbstractView#setAttributesMap
	 */
	public void setAttributesMap(Map attributes) {
		if (attributes != null) {
			this.staticAttributes.putAll(attributes);
		}
	}

	/**
	 * Allow Map access to the static attributes for views returned by
	 * this resolver, with the option to add or override specific entries.
	 * <p>Useful for specifying entries directly, for example via
	 * "attributesMap[myKey]". This is particularly useful for
	 * adding or overriding entries in child view definitions.
	 */
	public Map getAttributesMap() {
		return this.staticAttributes;
	}

	/**
	 * Set the view names (or name patterns) that can be handled by this
	 * {@link org.springframework.web.servlet.ViewResolver}. View names can contain
	 * simple wildcards such that 'my*', '*Report' and '*Repo*' will all match the
	 * view name 'myReport'.
	 * @see #canHandle
	 */
	public void setViewNames(String[] viewNames) {
		this.viewNames = viewNames;
	}

	/**
	 * Return the view names (or name patterns) that can be handled by this
	 * {@link org.springframework.web.servlet.ViewResolver}.
	 */
	protected String[] getViewNames() {
		return this.viewNames;
	}

	/**
	 * Set the order in which this {@link org.springframework.web.servlet.ViewResolver}
	 * is evaluated.
	 */
	public void setOrder(int order) {
		this.order = order;
	}

	/**
	 * Return the order in which this {@link org.springframework.web.servlet.ViewResolver}
	 * is evaluated.
	 */
	public int getOrder() {
		return this.order;
	}

	protected void initApplicationContext() {
		super.initApplicationContext();
		if (getViewClass() == null) {
			throw new IllegalArgumentException("Property 'viewClass' is required");
		}
	}


	/**
	 * This implementation returns just the view name,
	 * as this ViewResolver doesn't support localized resolution.
	 */
	protected Object getCacheKey(String viewName, Locale locale) {
		return viewName;
	}

	/**
	 * Overridden to implement check for "redirect:" prefix.
	 * <p>Not possible in <code>loadView</code>, since overridden
	 * <code>loadView</code> versions in subclasses might rely on the
	 * superclass always creating instances of the required view class.
	 * @see #loadView
	 * @see #requiredViewClass
	 */
	protected View createView(String viewName, Locale locale) throws Exception {
		// If this resolver is not supposed to handle the given view,
		// return null to pass on to the next resolver in the chain.
		if (!canHandle(viewName, locale)) {
			return null;
		}
		// Check for special "redirect:" prefix.
		if (viewName.startsWith(REDIRECT_URL_PREFIX)) {
			String redirectUrl = viewName.substring(REDIRECT_URL_PREFIX.length());
			return new RedirectView(
							redirectUrl, isRedirectContextRelative(), isRedirectHttp10Compatible());
		}
		// Check for special "forward:" prefix.
		if (viewName.startsWith(FORWARD_URL_PREFIX)) {
			String forwardUrl = viewName.substring(FORWARD_URL_PREFIX.length());
			return new InternalResourceView(forwardUrl);
		}
		// Else fall back to superclass implementation: calling loadView.
		return super.createView(viewName, locale);
	}

	/**
	 * Indicates whether or not this {@link org.springframework.web.servlet.ViewResolver} can
	 * handle the supplied view name. If not, {@link #createView(String, java.util.Locale)} will
	 * return <code>null</code>. The default implementation checks against the configured
	 * {@link #setViewNames view names}.
	 * @param viewName the name of the view to retrieve
	 * @param locale the Locale to retrieve the view for
	 * @return whether this resolver applies to the specified view
	 * @see org.springframework.util.PatternMatchUtils#simpleMatch(String, String)
	 */
	protected boolean canHandle(String viewName, Locale locale) {
		String[] viewNames = getViewNames();
		return (viewNames == null || PatternMatchUtils.simpleMatch(viewNames, viewName));
	}

	/**
	 * Delegates to <code>buildView</code> for creating a new instance of the
	 * specified view class, and applies the following Spring lifecycle methods
	 * (as supported by the generic Spring bean factory):
	 * <ul>
	 * <li>ApplicationContextAware's <code>setApplicationContext</code>
	 * <li>InitializingBean's <code>afterPropertiesSet</code>
	 * </ul>
	 * @param viewName the name of the view to retrieve
	 * @return the View instance
	 * @throws Exception if the view couldn't be resolved
	 * @see #buildView(String)
	 * @see org.springframework.context.ApplicationContextAware#setApplicationContext
	 * @see org.springframework.beans.factory.InitializingBean#afterPropertiesSet
	 */
	protected View loadView(String viewName, Locale locale) throws Exception {
		AbstractUrlBasedView view = buildView(viewName);
		return (View) getApplicationContext().getAutowireCapableBeanFactory().initializeBean(view, viewName);
	}

	/**
	 * Creates a new View instance of the specified view class and configures it.
	 * Does <i>not</i> perform any lookup for pre-defined View instances.
	 * <p>Spring lifecycle methods as defined by the bean container do not have to
	 * be called here; those will be applied by the <code>loadView</code> method
	 * after this method returns.
	 * <p>Subclasses will typically call <code>super.buildView(viewName)</code>
	 * first, before setting further properties themselves. <code>loadView</code>
	 * will then apply Spring lifecycle methods at the end of this process.
	 * @param viewName the name of the view to build
	 * @return the View instance
	 * @throws Exception if the view couldn't be resolved
	 * @see #loadView(String, java.util.Locale)
	 */
	protected AbstractUrlBasedView buildView(String viewName) throws Exception {
		AbstractUrlBasedView view = (AbstractUrlBasedView) BeanUtils.instantiateClass(getViewClass());
		view.setUrl(getPrefix() + viewName + getSuffix());
		String contentType = getContentType();
		if (contentType != null) {
			view.setContentType(contentType);
		}
		view.setRequestContextAttribute(getRequestContextAttribute());
		view.setAttributesMap(getAttributesMap());
		return view;
	}

}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
三级影片在线观看欧美日韩一区二区 | 国产高清不卡一区二区| 欧美四级电影在线观看| 亚洲视频一区二区在线| 国产精一区二区三区| 欧美一区二区三区男人的天堂| 国产精品午夜在线| 国内久久精品视频| 欧美大片日本大片免费观看| 天堂在线一区二区| 91成人网在线| 日韩精品国产欧美| 日韩欧美一级二级三级| 国产精品中文字幕一区二区三区| 精品成人私密视频| 国产成人8x视频一区二区| 国产欧美日韩精品a在线观看| 国产精品18久久久久| 国产女人水真多18毛片18精品视频 | 亚洲欧洲三级电影| 欧美日韩成人在线| 免费av成人在线| 成人免费视频在线观看| 欧美人妖巨大在线| 床上的激情91.| 亚洲尤物在线视频观看| 3d成人h动漫网站入口| 视频一区欧美日韩| 久久久久久麻豆| 91亚洲永久精品| 午夜亚洲国产au精品一区二区| 91色|porny| 婷婷国产v国产偷v亚洲高清| 欧美亚洲国产一区二区三区 | 51午夜精品国产| 开心九九激情九九欧美日韩精美视频电影| 欧美三级在线视频| 日本va欧美va欧美va精品| 日本一区二区免费在线观看视频| 精品夜夜嗨av一区二区三区| 成人欧美一区二区三区黑人麻豆 | 污片在线观看一区二区| 2021中文字幕一区亚洲| 色成年激情久久综合| 裸体一区二区三区| 亚洲精品乱码久久久久| 午夜婷婷国产麻豆精品| 国产一区二区三区综合| 欧美自拍偷拍一区| 大桥未久av一区二区三区中文| 污片在线观看一区二区| 日韩一区有码在线| 欧美激情一区二区三区全黄| 91精品国产欧美日韩| 欧美日韩综合不卡| 日本高清无吗v一区| 成人激情黄色小说| 国产露脸91国语对白| 麻豆传媒一区二区三区| 久久久久免费观看| 日韩美一区二区三区| 7777精品伊人久久久大香线蕉超级流畅| 豆国产96在线|亚洲| 高清不卡一区二区| 成人av在线资源网站| 国产一区二区精品在线观看| 精品中文av资源站在线观看| 日韩成人精品在线| 首页国产丝袜综合| 亚洲成人激情av| 日韩中文欧美在线| 麻豆91在线播放| 国产乱码字幕精品高清av| 麻豆国产精品视频| 成人一区二区三区视频在线观看| 国产原创一区二区三区| 波波电影院一区二区三区| 久久99精品久久久久婷婷| 国产激情91久久精品导航 | 欧美丝袜自拍制服另类| 91精品啪在线观看国产60岁| 2020国产成人综合网| 亚洲三级电影全部在线观看高清| 亚洲视频在线一区| 蜜桃传媒麻豆第一区在线观看| 久久国产人妖系列| 91麻豆国产精品久久| 欧美一区二区精品久久911| 欧美v国产在线一区二区三区| 欧美电影一区二区| 国产精品久久久久久久岛一牛影视 | 91在线porny国产在线看| 欧美色倩网站大全免费| 中文字幕不卡在线播放| 日本va欧美va精品| 91亚洲永久精品| 久久―日本道色综合久久| 一区二区在线观看视频| 国产一二精品视频| 日韩一区二区在线观看| 亚洲一区中文在线| 99精品国产99久久久久久白柏| 日韩免费看的电影| 五月天视频一区| 成人性生交大片免费看视频在线 | 精品毛片乱码1区2区3区| 亚洲乱码国产乱码精品精的特点| 国产精品1区2区3区在线观看| 69堂国产成人免费视频| 亚洲国产日韩综合久久精品| av在线这里只有精品| 国产精品免费看片| 成人黄色片在线观看| 国产精品视频看| 91网上在线视频| 欧美极品aⅴ影院| 成人免费毛片aaaaa**| 欧美videos大乳护士334| 日韩国产精品久久| 精品sm在线观看| 国产成人综合在线| 国产精品嫩草影院av蜜臀| 成人国产一区二区三区精品| 中文字幕欧美国产| 处破女av一区二区| 一区二区三区欧美| 欧美人动与zoxxxx乱| 九色porny丨国产精品| 国产精品免费视频网站| 色播五月激情综合网| 日韩高清一区在线| 日本一区二区在线不卡| 欧美午夜影院一区| 久久91精品久久久久久秒播| 国产亲近乱来精品视频| 91猫先生在线| 狠狠久久亚洲欧美| 日韩一区中文字幕| 精品免费99久久| 色婷婷综合久久久中文字幕| 久热成人在线视频| 国产精品乱码一区二区三区软件| 色偷偷久久一区二区三区| 六月丁香综合在线视频| 国产精品不卡一区二区三区| 777奇米成人网| www.亚洲色图| 国产另类ts人妖一区二区| 亚洲超丰满肉感bbw| 亚洲欧美一区二区不卡| 国产性色一区二区| 日韩一区二区免费电影| 欧洲亚洲精品在线| 99免费精品在线观看| 国产精品一线二线三线精华| 亚洲大尺度视频在线观看| 国产精品美女久久久久久久久| 欧美自拍偷拍一区| 色综合色狠狠天天综合色| 波多野结衣一区二区三区 | 国产日韩三级在线| 久久久精品免费免费| 久久久综合视频| 久久久亚洲精华液精华液精华液| 欧美疯狂性受xxxxx喷水图片| 67194成人在线观看| 欧美成人video| 日韩理论在线观看| 亚洲成av人片在线观看无码| 国内精品久久久久影院一蜜桃| av在线不卡网| 日韩一级二级三级| 亚洲色图欧美在线| 精品影视av免费| 色综合视频在线观看| 亚洲精品一区二区三区香蕉| 亚洲五月六月丁香激情| 国产精品亚洲专一区二区三区| 欧美日韩一区精品| 一区二区三区中文免费| 一区二区三区在线免费观看| 日韩一区二区三区观看| 欧美经典一区二区| 激情综合色综合久久| 欧美色手机在线观看| 亚洲视频在线一区观看| 国产毛片精品视频| 日韩一区和二区| 亚洲国产日韩精品| 99国产欧美另类久久久精品| 精品国产欧美一区二区| 午夜精品久久久久影视| 色av成人天堂桃色av| 综合久久久久久| 成人少妇影院yyyy| 中文字幕在线观看一区| 成人免费福利片| 国产精品美女一区二区| 成人免费看黄yyy456| 日韩伦理免费电影|