• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubybathyscaphegamewindowspythonphpguic翻訳omegattwitterframeworkbtronarduinovb.net計画中(planning stage)directxpreviewertestゲームエンジンdom

Commit MetaInfo

Revision1936 (tree)
Time2020-02-14 21:48:09
Authort_nakayama1971

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/framework/fwOnline/src/main/java/online/filter/FilterUtil.java (revision 1935)
+++ trunk/framework/fwOnline/src/main/java/online/filter/FilterUtil.java (revision 1936)
@@ -378,7 +378,7 @@
378378 * @param request リクエスト
379379 * @return リダイレクトURL
380380 */
381- static String getRedirect(final HttpServletRequest request) {
381+ static String getRedirectUrl(final HttpServletRequest request) {
382382 return getAttribute(request, REDIRECT_URL);
383383 }
384384
@@ -388,7 +388,7 @@
388388 * @param request リクエスト
389389 * @param location URL
390390 */
391- static void setRedirect(final HttpServletRequest request, final String location) {
391+ static void setRedirectUrl(final HttpServletRequest request, final String location) {
392392 setAttribute(request, REDIRECT_URL, location);
393393 }
394394
--- trunk/framework/fwOnline/src/main/java/online/filter/RedirectRequestFilter.java (revision 1935)
+++ trunk/framework/fwOnline/src/main/java/online/filter/RedirectRequestFilter.java (revision 1936)
@@ -198,7 +198,7 @@
198198 * @param request リクエスト
199199 */
200200 private void setAttribute(final HttpServletRequest request) {
201- final var location = FilterUtil.getRedirect(request);
201+ final var location = FilterUtil.getRedirectUrl(request);
202202 final var session = request.getSession(false);
203203 if (session != null && location != null) {
204204 synchronized (SessionMutexListener.getMutex(session)) {
--- trunk/framework/fwOnline/src/main/java/online/filter/RedirectResponseFilter.java (revision 1935)
+++ trunk/framework/fwOnline/src/main/java/online/filter/RedirectResponseFilter.java (revision 1936)
@@ -170,7 +170,7 @@
170170 final var response = dhw.getHttpResponse();
171171 if (!response.isCommitted()) {
172172 request.setAttribute(location, getDuplicateResponse(request, wrap));
173- FilterUtil.setRedirect(request, location);
173+ FilterUtil.setRedirectUrl(request, location);
174174 FilterUtil.redirect(response, location);
175175 }
176176 }