Framework Professional Edition Package


com.prosyst.mbs.services.http.jsp
Class JspLeastMemoryBase

java.lang.Object
  extended by com.prosyst.mbs.services.http.jsp.JspServletBase
      extended by com.prosyst.mbs.services.http.jsp.JspLeastMemoryBase
All Implemented Interfaces:
JspMagicBase

public abstract class JspLeastMemoryBase
extends JspServletBase
implements JspMagicBase

Not for direct usage by developers! This class is extended by the Jsp Implementation class when the Jsp Tool is used with "least memory" option. It provides logic for reading the jsp static contents from a resource file at each client request.


Field Summary
 
Fields inherited from class com.prosyst.mbs.services.http.jsp.JspServletBase
_jspTagPool, config
 
Constructor Summary
JspLeastMemoryBase()
           
 
Method Summary
 void _jspPrintBytes(byte[] b, int off, int length, JspMagicWriter writer)
          Prints length bytes, starting at position offset from the byte array b.
 void _jspPrintBytes(int startPos, int len, JspMagicWriter writer)
          Prints len bytes, starting at startPos in the static resource contents.
 void _jspSetResourceName(java.lang.String resName)
          Invoked by the Jsp Implementation Class to set the name of the resource file with the jsp static contents.
 void service(ServletRequest request, ServletResponse response)
          Delegates request service to HttpJspPage.jspService.
 
Methods inherited from class com.prosyst.mbs.services.http.jsp.JspServletBase
_jspGetTag, _jspReleaseTag, destroy, getServletConfig, getServletInfo, init, jspDestroy, jspInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspLeastMemoryBase

public JspLeastMemoryBase()
Method Detail

_jspSetResourceName

public void _jspSetResourceName(java.lang.String resName)
Description copied from interface: JspMagicBase
Invoked by the Jsp Implementation Class to set the name of the resource file with the jsp static contents.

Specified by:
_jspSetResourceName in interface JspMagicBase
Parameters:
resName -
See Also:
JspMagicBase._jspSetResourceName

service

public final void service(ServletRequest request,
                          ServletResponse response)
                   throws ServletException,
                          java.io.IOException
Delegates request service to HttpJspPage.jspService.

Overrides:
service in class JspServletBase
Parameters:
request -
response -
Throws:
ServletException
java.io.IOException

_jspPrintBytes

public void _jspPrintBytes(byte[] b,
                           int off,
                           int length,
                           JspMagicWriter writer)
                    throws java.io.IOException
Description copied from interface: JspMagicBase
Prints length bytes, starting at position offset from the byte array b. Bytes are printed into jsp magic writer.

Specified by:
_jspPrintBytes in interface JspMagicBase
Parameters:
b -
off -
length -
Throws:
java.io.IOException
See Also:
JspMagicBase._jspPrintBytes

_jspPrintBytes

public void _jspPrintBytes(int startPos,
                           int len,
                           JspMagicWriter writer)
                    throws java.io.IOException
Description copied from interface: JspMagicBase
Prints len bytes, starting at startPos in the static resource contents. Bytes are written to the jsp magic writer.

Specified by:
_jspPrintBytes in interface JspMagicBase
Parameters:
startPos -
len -
Throws:
java.io.IOException
See Also:
JspMagicBase._jspPrintBytes

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved