Servertec | read( )

Content Introduction Release Notes Features FAQs Requirements Installation Change Log Future Plans Knowledge Base Reference Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Config Context Cookie Date Enumeration File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request available( ) Content( ) contentData( ) cookieData( ) Cookies( ) decode( ) Form( ) formData( ) getSession( ) isSecure( ) isSessionFromCookie( ) isSessionFromURL( ) isSessionValid( ) length( ) method( ) parseCookies( ) parseRequest( ) path( ) QueryString( ) queryStringData( ) read( ) Request( ) ServerVariables( ) skip( ) RequestDispatcher Response Session SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Servlet Server Pages Preprocessor Executable Samples Legal Contact Us |
Returns value(s) read from the specified request object. #### Syntax read( request ) request.read( ) #### Parameters
request | the request object to read from.
#### Returns
integer | the byte read. -1 if end of file was reached.
#### Notes This method is only accessible by ss and by iScript Servlet. #### Example
    b = Request( ).read( )
#### Syntax read( request , bytearray ) request.read( bytearray ) #### Parameters
request | the request object to read from.
bytearray | a byte arrayobject to read into.
#### Returns
length | the number of bytes read. -1 if end of file was reached.
#### Notes This method is only accessible by ss and by iScript Servlet. #### Example
    sz = Request( ).read( buf )
#### Syntax read( request , bytearray , offset , length ) request.read( bytearray , offset , length ) #### Parameters
request | the request object to read from.
bytearray | a byte array object to read into.
offset | a starting offset.
length | the number of bytes to read.
#### Returns
length | the number of bytes read. -1 if end of file was reached.
#### Notes This method is only accessible by ss and by iScript Servlet. #### Example
    sz = Request( ).read( buf, 0, 1024 )
top of page Copyright © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005