Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.webchat.actions
Class WebBean

java.lang.Object
  extended by com.jivesoftware.webchat.actions.WebBean
Direct Known Subclasses:
ImageUtils

public abstract class WebBean
extends java.lang.Object


Field Summary
 javax.servlet.ServletContext application
           
 javax.servlet.jsp.JspWriter out
           
 javax.servlet.http.HttpServletRequest request
           
 javax.servlet.http.HttpServletResponse response
           
 javax.servlet.http.HttpSession session
           
static java.lang.String TRANSCRIPT
           
 
Constructor Summary
WebBean()
           
 
Method Summary
 void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpSession session, javax.servlet.ServletContext app, javax.servlet.jsp.JspWriter out)
           
 void init(javax.servlet.jsp.PageContext context)
           
 boolean validateChars(java.lang.String text)
          Validate the given text - to pass it must contain letters, digits, '@', '-', '_', '
 void writeData(java.lang.String data)
          Writes the given data to the servlet output stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSCRIPT

public static final java.lang.String TRANSCRIPT
See Also:
Constant Field Values

session

public javax.servlet.http.HttpSession session

request

public javax.servlet.http.HttpServletRequest request

response

public javax.servlet.http.HttpServletResponse response

application

public javax.servlet.ServletContext application

out

public javax.servlet.jsp.JspWriter out
Constructor Detail

WebBean

public WebBean()
Method Detail

init

public void init(javax.servlet.http.HttpServletRequest request,
                 javax.servlet.http.HttpServletResponse response,
                 javax.servlet.http.HttpSession session,
                 javax.servlet.ServletContext app,
                 javax.servlet.jsp.JspWriter out)

init

public void init(javax.servlet.jsp.PageContext context)

writeData

public void writeData(java.lang.String data)
Writes the given data to the servlet output stream.

Parameters:
data - the text to write out

validateChars

public boolean validateChars(java.lang.String text)
Validate the given text - to pass it must contain letters, digits, '@', '-', '_', '.', ',' or a space character.

Parameters:
text - the text to check
Returns:
true if the given text is valid, false otherwise.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.