public class HttpDirectViewCommandImpl extends AbstractDirectViewCommand implements HttpViewCommand
Constructor and Description |
---|
HttpDirectViewCommandImpl()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getEncoding()
This method gets the encoding.
|
javax.servlet.http.HttpServletRequest | getRequest()
This method gets the HttpServletRequest object associated with this command.
|
javax.servlet.http.HttpServletResponse | getResponse()
This method gets the HttpServletResponse object associated with this command.
|
void | performExecute()
This method gets either a text document or a raw document from the request properties and sends it out.
|
protected void | sendRawDocument(byte[] doc)
This method sends out a raw document.
|
protected void | sendRawDocument(java.io.InputStream doc)
This method sends out a raw document.
|
protected void | sendTextDocument(java.io.InputStream doc)
This method sends out a text document.
|
public HttpDirectViewCommandImpl()
public java.lang.String getEncoding()
public javax.servlet.http.HttpServletRequest getRequest()
public javax.servlet.http.HttpServletResponse getResponse()
public void performExecute() throws ECException
protected void sendRawDocument(byte[] doc) throws ECException
protected void sendRawDocument(java.io.InputStream doc) throws ECException
protected void sendTextDocument(java.io.InputStream doc) throws ECException