kr.co.hit.live.web.mapper
Class WebMapperAction

java.lang.Object
  extended by kr.co.hit.live.web.action.AbstractWebAction
      extended by kr.co.hit.live.web.mapper.WebMapperAction
All Implemented Interfaces:
WebAction

public class WebMapperAction
extends AbstractWebAction

XML 기반의 Input/Output mapping 기능을 제공하는 WebAction 클래스이다.

이 클래스에서는 다음의 Diagnostic Context 값들을 생성한다.

Since:
4.0
Author:
김형도

Field Summary
static String DEFAULT_MAP_SELECTOR
           
 
Fields inherited from class kr.co.hit.live.web.action.AbstractWebAction
context
 
Constructor Summary
WebMapperAction()
           
 
Method Summary
 WebActionForward execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          WebActionDispatcher 서블릿이 호출하는 메소드이다.
 void setMapGroupSelector(String mapGroupParamName)
          HttpServletRequest에서 Map 파일이 있는 하위 디렉토리를 가져오기 위한 request Parameter 명을 지정한다.
 void setMapSelector(String mapParamName)
          HttpServletRequest에서 Map 파일 ID를 가져오기 위한 request Parameter 명을 지정한다.
 void setPath(String path)
           
 void setReload(boolean reload)
           
 void showConfiguration(javax.servlet.http.HttpServletResponse response)
          WebAction의 설정값을 출력하는 메소드이다.
 
Methods inherited from class kr.co.hit.live.web.action.AbstractWebAction
createForward, getServletContext, getWebApplicationContext, setForward, setPrefix, setSuffix, setWebApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_MAP_SELECTOR

public static final String DEFAULT_MAP_SELECTOR
See Also:
Constant Field Values
Constructor Detail

WebMapperAction

public WebMapperAction()
Method Detail

setPath

public void setPath(String path)

setReload

public void setReload(boolean reload)

setMapSelector

public void setMapSelector(String mapParamName)
HttpServletRequest에서 Map 파일 ID를 가져오기 위한 request Parameter 명을 지정한다.

Parameters:
mapParamName -

setMapGroupSelector

public void setMapGroupSelector(String mapGroupParamName)
HttpServletRequest에서 Map 파일이 있는 하위 디렉토리를 가져오기 위한 request Parameter 명을 지정한다.

Parameters:
mapParamName -

showConfiguration

public void showConfiguration(javax.servlet.http.HttpServletResponse response)
                       throws IOException
Description copied from interface: WebAction
WebAction의 설정값을 출력하는 메소드이다.

Specified by:
showConfiguration in interface WebAction
Overrides:
showConfiguration in class AbstractWebAction
Throws:
IOException

execute

public WebActionForward execute(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
                         throws Exception
Description copied from interface: WebAction
WebActionDispatcher 서블릿이 호출하는 메소드이다. 이 인터페이스를 구현하는 클래스는 이 메소드에서 업무처리를 수행하고 forward할 View의 URL을 WebActionForward로 리턴한다. null을 리턴할 경우에는 forward하지 않는다.

Specified by:
execute in interface WebAction
Specified by:
execute in class AbstractWebAction
Returns:
Throws:
Exception


Copyright © 2014. All Rights Reserved.