Servertec Response
M E N U

Content
Introduction
Release Notes
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Referance Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Cookie
Date
Error
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
Response
SqlTypes
Stack
StreamTokenizer
String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Server Side
Preprocessor
Executable
Make
Samples
Legal
Feedback

 


Functions on HTTP response objects.
 
Method Description
cacheContent( ) Used to indicate that the output should be cached by proxy servers on the specified response object.
charset( ) Used to indicate the character set of the content type of the specified response object.
contentEncoding( ) Used to indicate the content encoding of the specified response object.
contentLength( ) Used to indicate the content length of the specified response object.
contentType( ) Used to indicate the content type of the specified resposne object.
Cookies( ) Used to create a new hashtable to hold cookie objects, to return the cookie object associates with a given cookie name or used to set a given cookie object to a given value on the specified response object.
encode( ) Returns the x-www-form-urlencoded decoded form of the specified string.
expires( ) Used to indicate the expiration date of the specified response object.
flush( ) Used to flush the specified response object.
getCacheContent( ) Returns whether any output should be cached by proxy servers on the specified response object.
getCharset( ) Returns the character set of the content type of the specified response object.
getContentEncoding( ) Returns the content encoding of the specified response object.
getContentLength( ) Returns the content length of the specified response object.
getContentType( ) Returns the content type of the specified resposne object.
getExpires( ) Returns the expiration date of the specified response object.
getIsBuffered( ) Return wheter output is buffered on the specified response object.
getIsRaw( ) Returns wheter output is raw on the specified response object.
getLastModified( ) Returns the last modified date of the specified response object.
getStatus( ) Returns the status code of the specified response object.
Headers( ) 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.
isBuffered( ) Used to indicate that output is buffered on the specified response object.
isRaw( ) Used to indicate that any output is raw on the specified response object.
lastModified( ) Used to indicate the last modified date of the specified response object.
length( ) Returns the content length of the specified response object.
log( ) Writes the given string to the log file of the specified response object.
print( ) Prints the given value to the specified response object.
println( ) Prints the given line to the specified response object.
redirect( ) Redirects the client to the given URL using the specified reponse object.
reset( ) Clears the output buffer on the specified response object.
Response( ) Returns the current response object.
setCacheContent( ) Sets whether any output should be cached by proxy servers on the specified response object.
setCharset( ) Sets the character set of the content type of the specified response object.
setContentEncoding( ) Sets the content encoding of the specified response object.
setContentLength( ) Sets the content length of the specified response object.
setContentType( ) Sets the content type of the specified resposne object.
setExpires( ) Sets the expiration date of the specified response object.
setIsBuffered( ) Sets wheter any output is buffered on the specified response object.
setIsRaw( ) Sets wheter any output is raw on the specified response object.
setLastModified( ) Sets the last modified date of the specified response object.
setStatus( ) Sets the status code of the specified response object.
status( ) Used to indicate the status code of the specified response object.
_STATUS
_ACCEPTED( )
Returns the value of accepted status code.
_STATUS
_BAD_GATEWAY( )
Returns the value of bad gateway status code.
_STATUS
_BAD_REQUEST( )
Returns the value of bad request status code.
_STATUS
_CREATED( )
Returns the value of created status code.
_STATUS
_FORBIDDEN( )
Returns the value of forbidden status code.
_STATUS
_GATEWAY
_TIMEOUT( )
Returns the value of gateway timeout status code.
_STATUS
_INTERNAL
_SERVER_ERROR( )
Returns the value of internal server error status code.
_STATUS
_MOVED
_PERMANENTLY( )
Returns the value of moved permanently status code.
_STATUS
_MOVED
_TEMPORARILY( )
Returns the value of moved temporarily status code.
_STATUS
_NO_CONTENT( )
Returns the value of no content status code.
_STATUS
_NOT_FOUND( )
Returns the value of not found status code.
_STATUS
_NOT
_IMPLEMENTED( )
Returns the value of not implemented status code.
_STATUS
_NOT_MODIFIED( )
Returns the value of not modified status code.
_STATUS
_OK( )
Returns the value of ok status code.
_STATUS
_PARTIAL
_INFORMATION( )
Returns the value of partial information status code.
_STATUS
_UNAUTHORIZED( )
Returns the value of unauthorized status code.
toByteArray( ) Returns a byte array object with any buffered output from the specified response object.
toHeader( ) Returns the header representation of the specified response object.
toString( ) Returns a string with any buffered output from the specified response object.
write( ) Writes the given value and returns the number of bytes written to the specified response object.

Notes

These methods are only accessible by ss.
top of page
Built with iScript Copyright © 1997-1998 Servertec. All rights reserved.
Last Modified: Wed Apr 15 00:16:38 EDT 1998