kr.co.hit.live.web.mapper
Class WebMapperAction
java.lang.Object
kr.co.hit.live.web.action.AbstractWebAction
kr.co.hit.live.web.mapper.WebMapperAction
- All Implemented Interfaces:
- WebAction
public class WebMapperAction
- extends AbstractWebAction
XML 기반의 Input/Output mapping 기능을 제공하는 WebAction 클래스이다.
이 클래스에서는 다음의 Diagnostic Context 값들을 생성한다.
- live.web.mapper.selector : Map 파일 선택 값
- live.web.mapper.groupselector : Map 파일 선택을 위한 group 값
- live.web.action.target : Map 파일의 의 target 속성값
- live.web.action.method : Map 파일의 의 method 속성값
- live.web.action.svc.retcnt : Action 수행 결과 총 리턴 건수
- live.web.action.svc.errmsg : Action 수행 결과 오류 발생 시 오류 메시지
- live.web.action.svc.stime : Action 수행 시작 시간
- live.web.action.svc.etime : Action 수행 종료 시간
- live.web.action.svc.rtime : Action 수행 소요 시간
- Since:
- 4.0
- Author:
- 김형도
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_MAP_SELECTOR
public static final String DEFAULT_MAP_SELECTOR
- See Also:
- Constant Field Values
WebMapperAction
public WebMapperAction()
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.