Servertec | Headers( )

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 Cookie Date Enumeration File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request Response SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Servlet Server Side Preprocessor Executable Samples Sales Legal Feedback |
Used to create a new hashtable to hold headers, to return the header associates with a given header name or used to set a given header item to a given value on the specified response object. #### Syntax Headers( response ) response.Headers( ) #### Parameters
response | the response object to use.
#### Returns
hashtable | the hashtable object containing header items. null if there are no header items.
#### Notes This method is only accessible by ss and by iScript Servlet. #### Example
    headers = Response( ).Headers( )
#### Syntax Headers( response , string ) response.Headers( string ) #### Parameters
response | the response object to use.
string | the name associated with the header item.
#### Returns
string | the associated header item. null if there is no associated header item.
#### Notes This method is only accessible by ss and by iScript Servlet. #### Example header = Response( ).Headers( key ) #### Syntax Headers( response , string1 , string2 ) response.Headers( string1 , string2 ) #### Parameters
response | the response object to use.
string1 | the name associated with the header item.
string2 | the header to associate.
#### Returns
nothing
#### Notes This method is only accessible by ss and by iScript Servlet. #### Example Response( ).Headers( "xEncoding", header )
top of page
| Copyright © 1997-1999 Servertec. All rights reserved. Last Modified: Tue Jan 26 22:19:03 EST 1999