no.inspera.services.pedal.actions
Class HTML

java.lang.Object
  extended by no.inspera.services.pedal.actions.HTML
All Implemented Interfaces:
Result

public class HTML
extends java.lang.Object
implements Result

HTML action simply prints out html to the response.

Since:
23.12.2007
Version:
$Id: HTML.java 45069 2008-05-29 08:25:25Z naimdjon $
Author:
Naimdjon Takhirov

Constructor Summary
protected HTML(java.lang.String html)
          Constructs a new HTML object with the specified html content
 
Method Summary
 void processResult(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Processes result which causes printing an HTML content to the response.
 java.lang.String toString()
          Returns string representation of this HTML object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HTML

protected HTML(java.lang.String html)
Constructs a new HTML object with the specified html content

Parameters:
html - the html content
Method Detail

processResult

public void processResult(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse res)
                   throws javax.servlet.ServletException
Processes result which causes printing an HTML content to the response.

Specified by:
processResult in interface Result
Parameters:
req - current request.
res - current reponse.
Throws:
javax.servlet.ServletException - if any exception occurs when forwarding.

toString

public java.lang.String toString()
Returns string representation of this HTML object.

Overrides:
toString in class java.lang.Object
Returns:
string representation of the html


Copyright © 2008 Naimdjon Takhirov (naimdjon@gmail.com). All Rights Reserved.