Framework Professional Edition Package


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

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

public abstract class JspBestPerformanceBase
extends JspServletBase
implements JspMagicBase

This class is not designed for direct usage by Jsp Developers. It is extended by the Jsp Implementation Class to provide logic for loading the static contents of the jsp page from a resource file.


Field Summary
static int VERSION
           
 
Fields inherited from class com.prosyst.mbs.services.http.jsp.JspServletBase
_jspTagPool, config
 
Constructor Summary
JspBestPerformanceBase()
           
 
Method Summary
 void _jspDecode(int startPos, int endPos, JspMagicWriter writer)
          This method is called by the Jsp Implementation class when lz compression was used to generate the static contents.
 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 jspDestroy()
          Clears this object variables.
static int readInt(java.io.InputStream is, byte[] hlp)
           
 
Methods inherited from class com.prosyst.mbs.services.http.jsp.JspServletBase
_jspGetTag, _jspReleaseTag, destroy, getServletConfig, getServletInfo, init, jspInit, service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final int VERSION
See Also:
Constant Field Values
Constructor Detail

JspBestPerformanceBase

public JspBestPerformanceBase()
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 - static contents resource file
See Also:
JspMagicBase._jspSetResourceName

_jspDecode

public void _jspDecode(int startPos,
                       int endPos,
                       JspMagicWriter writer)
                throws java.io.IOException
This method is called by the Jsp Implementation class when lz compression was used to generate the static contents. The method decodes the byte patterns, starting at startPos in the index table, until endPos.

Parameters:
startPos - pattern position according to index table
endPos - pattern end position according to index table
Throws:
java.io.IOException

_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 - pos in the internal structure, that keeps static contents
len - number of bytes to write
Throws:
java.io.IOException
See Also:
JspMagicBase._jspPrintBytes

_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
Throws:
java.io.IOException

readInt

public static int readInt(java.io.InputStream is,
                          byte[] hlp)
                   throws java.io.IOException
Throws:
java.io.IOException

jspDestroy

public void jspDestroy()
Clears this object variables.

Overrides:
jspDestroy in class JspServletBase

Framework Professional Edition Package


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