Servertec | Request

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 |
Operates on HTTP request objects.
Method | Description
available( ) | Returns the number of bytes that can be read without blocking from the specified request object.
Content( ) | Returns a hashtable object containing any form elements sent using the post request method to the specified request object or returns the value of the given form element identifier using the specified request object.
contentData( ) | Returns a byte array object containing information sent using the post request method to the specified request object.
cookieData( ) | Returns any cookies sent by the client to the specified request object.
Cookies( ) | Returns a hashtable object containing any cookie objects sent by the client to the specified request object or returns the cookie associated with the given cookie identifier using the specified request object.
decode( ) | Returns the decoded form of the specified x-www-form-urlencoded string.
Form( ) | Returns a hashtable object containing any form elements sent to the specified request object or returns the value of the given form element identifier using the specified request object.
formData( ) | Returns any form elements sent by the client to the specified request object.
getSession( ) | Used to retrieve the current Session object or to create a new one.
isSecure( ) | Returns whether the Request specififed was made over a secure connection.
isSessionFromCookie( ) | Returns whether the Session is from a Cookie.
isSessionFromURL( ) | Returns whether the Session is from a URL.
isSessionValid( ) | Returns whether there is a valid Session object.
length( ) | Returns the content length for the specified request object.
method( ) | Returns the form request method for the specified request object.
parseCookies( ) | Returns a hashtable object containing any cookies extracted from the given string using the specified request object.
parseRequest( ) | Returns a hashtable object containing any form elements extracted from the given string using the specified request object.
path( ) | Returns the base path of the specified request object.
QueryString( ) | Returns a hashtable object containing any elements sent using the get request method to the specified request object or returns the value of the given identifier using the specified request object.
queryStringData( ) | Returns any x-www-form-urlencoded encoded string containing information sent using the get request method to the specified request object.
read( ) | Return a string containing the bytes read from the specified file input stream, piped input stream, string buffer input stream, input stream or random access file object.
Request( ) | Returns the current request object.
ServerVariables( ) | Returns the server variables or the value associated with the specified server variable.
skip( ) | Skip over the number of specified bytes from the given request 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