kr.co.hit.live.web.mapper.output.impl
Class TrustFormXmlResponseWriter
java.lang.Object
kr.co.hit.live.web.mapper.output.impl.AbstractResponseWriter
kr.co.hit.live.web.mapper.output.impl.XmlResponseWriter
kr.co.hit.live.web.mapper.output.impl.TrustFormXmlResponseWriter
- All Implemented Interfaces:
- ResponseWriter
public class TrustFormXmlResponseWriter
- extends XmlResponseWriter
TrustForm 4.0 의 XML 구조로 결과 데이터를 뿌려주는 ResponseWriter의 구현 클래스.
- Since:
- 4.0
- Author:
- kimhd
|
Method Summary |
protected void |
writeException(Throwable tr,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
다음과 같은 instance 구조를 사용하여 오류를 출력한다. |
protected void |
writeMessage(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
다음과 같은 instance 구조를 사용하여 메시지를 출력한다. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrustFormXmlResponseWriter
public TrustFormXmlResponseWriter(Output output)
writeException
protected void writeException(Throwable tr,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException
- Description copied from class:
XmlResponseWriter
- 다음과 같은 instance 구조를 사용하여 오류를 출력한다.
<message>
<type>error</type>
<code></code>
<msg></msg>
<description></description>
</message>
위와 다른 구조로 오류를 출력하고자 할 경우에는 이 클래스를 상속받아 하위 클래스에서 재정의한다.
- Overrides:
writeException in class XmlResponseWriter
- Throws:
IOException
writeMessage
protected void writeMessage(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException
- Description copied from class:
XmlResponseWriter
- 다음과 같은 instance 구조를 사용하여 메시지를 출력한다.
<message>
<type>info</type>
<code></code>
<msg></msg>
<description></description>
</message>
위와 다른 구조로 오류를 출력하고자 할 경우에는 이 클래스를 상속받아 하위 클래스에서 재정의한다.
- Overrides:
writeMessage in class XmlResponseWriter
- Throws:
IOException
Copyright © 2014. All Rights Reserved.