Servertec | Response

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 |
Functions on HTTP response objects.
Method | Description
_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.
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 response 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.
encodeRedirectURL( ) | Encodes the specified URL for use with redirect( ) by adding an necessary session ID.
encodeURL( ) | Encodes the specified URL by adding an necessary session ID.
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 response object.
getExpires( ) | Returns the expiration date of the specified response object.
getIsBuffered( ) | Return whether output is buffered on the specified response object.
getIsRaw( ) | Returns whether 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 response 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 response object.
setExpires( ) | Sets the expiration date of the specified response object.
setIsBuffered( ) | Sets whether any output is buffered on the specified response object.
setIsRaw( ) | Sets whether 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.
toByteArray( ) | Returns a byte array object with any buffered output from 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 and by iScript Servlet.
top of page Copyright © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005