com.infoengine
Class IeServlet.RequestDispatcher

java.lang.Object
  extended bycom.infoengine.IeServlet.RequestDispatcher
Enclosing class:
IeServlet

private class IeServlet.RequestDispatcher
extends Object


Field Summary
private  String authPass
           
private  String authUser
           
private  Request ieRqt
           
private  int lastError
           
private  javax.servlet.http.HttpServletRequest request
           
private  IeMultipartInputStream requestStream
           
private  javax.servlet.http.HttpServletResponse response
           
 
Constructor Summary
IeServlet.RequestDispatcher(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
private  void checkAuthorization()
           
private  boolean isUsASCII(String s)
          Determins whether a string contains only printable US-ASCII characters or not.
 void run()
           
private  String setRedirectSource()
          Wade through all submitted form variables, looking for a submit button with a reservered name "redirect:".
private  String setTemplatePath(String uri, boolean isJsp)
          Set the template or task pathname.
private  boolean validateAuthentication()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

authUser

private String authUser

authPass

private String authPass

ieRqt

private Request ieRqt

lastError

private int lastError

request

private javax.servlet.http.HttpServletRequest request

requestStream

private IeMultipartInputStream requestStream

response

private javax.servlet.http.HttpServletResponse response
Constructor Detail

IeServlet.RequestDispatcher

public IeServlet.RequestDispatcher(javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response)
Method Detail

run

public void run()

isUsASCII

private boolean isUsASCII(String s)
Determins whether a string contains only printable US-ASCII characters or not.

Parameters:
s - The string to examine.
Returns:
true if it contains only printibal US-ASCII characters.

setTemplatePath

private String setTemplatePath(String uri,
                               boolean isJsp)
                        throws javax.servlet.ServletException
Set the template or task pathname. This method understands template requests, task requests, and redirects.

Throws:
javax.servlet.ServletException

setRedirectSource

private String setRedirectSource()
                          throws javax.servlet.ServletException
Wade through all submitted form variables, looking for a submit button with a reservered name "redirect:". This allows multiple submit buttons on one form that target separate template files.

Throws:
javax.servlet.ServletException

checkAuthorization

private void checkAuthorization()
                         throws IEException,
                                javax.servlet.ServletException
Throws:
IEException
javax.servlet.ServletException

validateAuthentication

private boolean validateAuthentication()
                                throws IEException
Throws:
IEException