|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkr.co.hit.live.web.mapper.output.impl.AbstractResponseWriter
kr.co.hit.live.web.mapper.output.impl.TextResponseWriter
public class TextResponseWriter
결과 데이터를 일반 Text로 출력한다. Map 파일 정의시 <output>에 여러 개의 <table>들이 정의되었거나 동적 확장이 적용되는 경우에 <table>이 출력되는 순서는 정해져 있지 않아 무작위 순서로 출력된다. 다만 하나의 <table> 내에서 <column>가 출력되는 순서는 Map 파일에 정의된 순서를 유지한다.
| Field Summary | |
|---|---|
protected static String |
DEFAULT_CONTENT_TYPE
|
protected static String |
DEFAULT_ENCODING
|
| Fields inherited from class kr.co.hit.live.web.mapper.output.impl.AbstractResponseWriter |
|---|
DEFAULT_CLIENT_MESSAGE_KEY, LINE_SEPARATOR |
| Constructor Summary | |
|---|---|
TextResponseWriter(Output output)
|
|
| Method Summary | |
|---|---|
protected String |
getForwardPath()
출력이 종료된 후 Forward 할 경우 Forward 할 URL 경로를 반환한다. |
protected void |
writeBody(ValueObjectAssembler voa,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
데이터를 출력하는 메소드이다. |
protected void |
writeException(Throwable thr,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
오류 상황을 출력하는 메소드이다. |
protected void |
writeHead(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
전체 출력 작업 중 맨처음에 호출되는 메소드이다. |
protected void |
writeMessage(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
데이터 출력 후 호출되는 메소드이다. |
protected void |
writeTail(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
전체 출력 작업 중 마지막에 호출되는 메소드이다. |
| Methods inherited from class kr.co.hit.live.web.mapper.output.impl.AbstractResponseWriter |
|---|
getOutput, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String DEFAULT_ENCODING
protected static final String DEFAULT_CONTENT_TYPE
| Constructor Detail |
|---|
public TextResponseWriter(Output output)
| Method Detail |
|---|
protected void writeHead(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException
AbstractResponseWriter
writeHead in class AbstractResponseWriterIOException
protected void writeTail(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException
AbstractResponseWriter
writeTail in class AbstractResponseWriterIOException
protected void writeBody(ValueObjectAssembler voa,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException
AbstractResponseWriter
writeBody in class AbstractResponseWriterIOException
protected void writeException(Throwable thr,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException
AbstractResponseWriter
writeException in class AbstractResponseWriterIOException
protected void writeMessage(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws IOException
AbstractResponseWriter
writeMessage in class AbstractResponseWriterIOExceptionprotected String getForwardPath()
AbstractResponseWriter
getForwardPath in class AbstractResponseWriter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||