public class GlueNexacroAdaptor extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
protected String |
charset |
protected String |
contentType |
protected GlueLog |
logger |
Constructor and Description |
---|
GlueNexacroAdaptor() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Clean up inner properties
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain)
Client에서 Nexacro의 DatasetList, VariableList를 추출
|
void |
init(javax.servlet.FilterConfig config)
'CharSet', 'ContentType' 파라미터를 설정한다.
|
protected com.nexacro17.xapi.data.VariableList |
markFailureProcessing(com.nexacro17.xapi.data.VariableList variableList,
String message)
실행 중 에러 발생시 Nexacro VariableList에 에러 메세지를 저장
|
protected void |
saveDataSetList(com.nexacro17.xapi.data.DataSetList datasetList,
javax.servlet.http.HttpServletRequest request)
Nexacro DataSetList을 추출해서 HttpRequest의 Attribute에 저장한다.
|
protected void |
saveVariableList(com.nexacro17.xapi.data.VariableList varList,
javax.servlet.http.HttpServletRequest request)
Nexacro VariableList의 각 항목을 추출해서 HttpRequest의 Attribute에 저장한다.
|
void |
setFilterConfig(javax.servlet.FilterConfig filterConfig) |
protected GlueLog logger
protected String charset
protected String contentType
public void init(javax.servlet.FilterConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
config
- javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
filterChain
- FilterChainresponse
- ServletReponserequest
- ServletRequestjavax.servlet.ServletException
IOException
protected void saveDataSetList(com.nexacro17.xapi.data.DataSetList datasetList, javax.servlet.http.HttpServletRequest request)
request
- HttpServletRequestdatasetList
- DataSetListprotected void saveVariableList(com.nexacro17.xapi.data.VariableList varList, javax.servlet.http.HttpServletRequest request)
request
- HttpServletRequestvarList
- VariableListprotected com.nexacro17.xapi.data.VariableList markFailureProcessing(com.nexacro17.xapi.data.VariableList variableList, String message)
variableList
- Nexacro VariableListmessage
- Stringpublic void setFilterConfig(javax.servlet.FilterConfig filterConfig)
Copyright © 2023–2024 POSCO DX. All rights reserved.