Servertec | toString( )

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 RequestDispatcher Response _STATUS _ACCEPTED( ) _STATUS _BAD_GATEWAY( ) _STATUS _BAD_REQUEST( ) _STATUS _CREATED( ) _STATUS _FORBIDDEN( ) _STATUS _GATEWAY _TIMEOUT( ) _STATUS _INTERNAL _SERVER_ERROR( ) _STATUS _MOVED _PERMANENTLY( ) _STATUS _MOVED _TEMPORARILY( ) _STATUS _NO_CONTENT( ) _STATUS _NOT_FOUND( ) _STATUS _NOT _IMPLEMENTED( ) _STATUS _NOT_MODIFIED( ) _STATUS _OK( ) _STATUS _PARTIAL _INFORMATION( ) _STATUS_UN AUTHORIZED( ) cacheContent( ) charset( ) contentEncoding( ) contentLength( ) contentType( ) Cookies( ) encode( ) encodeRedirectURL( ) encodeURL( ) expires( ) flush( ) getCacheContent( ) getCharset( ) getContent Encoding( ) getContentLength( ) getContentType( ) getExpires( ) getIsBuffered( ) getIsRaw( ) getLastModified( ) getStatus( ) Headers( ) isBuffered( ) isRaw( ) lastModified( ) length( ) log( ) print( ) println( ) redirect( ) reset( ) Response( ) setCacheContent( ) setCharset( ) setContent Encoding( ) setContentLength( ) setContentType( ) setExpires( ) setIsBuffered( ) setIsRaw( ) setLastModified( ) setStatus( ) status( ) toByteArray( ) toString( ) write( ) Session SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Servlet Server Pages Preprocessor Executable Samples Legal Contact Us |
Returns a string with any buffered output from the specified response object. #### Syntax toString( response ) response.toString( ) #### Parameters
response | the response object to use.
#### Returns
string | containing any output in the output buffer.
#### Notes This method is only accessible by ss and by iScript Servlet. This method can only be used if output is being buffered. An exception will occur if this method is used and output is not being buffered. #### Example
    sbuffer = Response( ).toString( )
top of page Copyright © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005