Servertec   Internet
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

 

Operates on internet objects.

Method Description
accept( ) Listens for a connection to be made on the specified server socket and returns the socket object for the connection made on the specified server socket.
close( ) Close the specified server socket, datagram socket or socket object.
connect( ) Connects to the referenced object using the specified url connection object.
DatagramPacket( ) Returns a datagram packet object using given byte buffer object, packet length and port number.
DatagramSocket( ) Returns a datagram socket object using the specified port number and bound to the specified inet address object.
disconnect( ) Closes the connection to the specified http url connection object.
encode( ) Returns the url encoded value of the specified value.
equals( ) Returns whether a given inet address or url object is equal to another inet address or url object.
getAddress( ) Returns the IP address of the machine using the specified inet address object or returns the inet address object of the specified datagram packet object.
getAllByName( ) Returns an inet address object containing all the IP addresses of a host using the given host name and the specified inet address object.
getAllow
UserInteraction( )
Returns whether the specified url connection objects allows user interaction.
getByName( ) Returns an inet address object containing the IP address of a host using the given host name and the specified inet address object.
getContent( ) Returns an object containing the content at the specified url or url connection object.
getContentEncoding( ) Returns the value of the content-encoding header field for the object referred to by the specified url connection object.
getContentLength( ) Returns the value of the header field content-length for the object referred to by the specified url connection object.
getContentType( ) Returns the value of the content-type header field for the object referred to by the specified url connection object.
getData( ) Returns the data received or the data to be sent to the specified datagram packet object.
getDate( ) Returns the value of the date header field for the object referred to by the specified url connection.
getDefault
AllowUserInteraction( )
Returns whether by default the specified url connection object allows user interaction.
getDefault
RequestProperty( )
Returns the value of the default request property for the specified url connection using the given key.
getDefaultUseCaches( ) Returns whether by default the specified url connection object uses caches.
getDoInput( ) Returns whether the specified url connection does input.
getDoOutput( ) Returns whether the specified url connection does output.
getExpiration( ) Returns the value of the expires header field for the object referred to by the specified url connection object.
getFile( ) Returns the name of the file at the specified url object.
getFollowRedirects( ) Returns whether HTTP redirects should occur automatically on the specified http url connection object.
getHeaderField( ) Returns the name of the given header field for the object referred to by the specified url connection object.
getHeaderFieldDate( ) Returns the value of the given header field as a date object for the object referred to by the specified url connection object.
getHeaderFieldInt( ) Returns the value of the given header field as an integer for the object referred to by the specified url connection object.
getHeaderFieldKey( ) Returns the key of the nth header field for the object referred to by the specified url connection object.
getHost( ) Returns the name of the host at the specified url object.
getHostAddress( ) Returns a string containing the IP address of the host represented by the specified inet address object.
getHostName( ) Returns the host name of the host represented by the specified inet address object.
getIfModifiedSince( ) Returns the if modified since field for the object referred to by the specified url connection object.
getInetAddress( ) Returns the inet address object for the specified server socket or socket object.
getInputStream( ) Returns the input stream object of the specified socket or url connection object.
getLastModified( ) Returns the value of the last-modified header field for the object referred to by the specified url connection object.
getLength( ) Returns the length of the data to be sent or received for the specified datagram packet object.
getLocalAddress( ) Returns the local inet address object to which the specified datagram socket or socket is bound.
getLocalHost( ) Returns an inet address object containing the IP address of the local host.
getLocalPort( ) Returns the port number on the local host to which the specified datagram socket, server socket or socket object is bound.
getOutputStream( ) Returns the output stream object of the specified socket or url connection object.
getPort( ) Returns the port number on the remote host using the specified datagram packet, socket or url object.
getProtocol( ) Returns the name of the protocol used by the specified url object.
getRef( ) Returns the anchor of the specified url object.
getRequestMethod( ) Returns the request method for the specified http url connection object.
getRequestProperty( ) Returns the value of the named request property for the specified connection url object.
getResponseCode( ) Returns the response code for the specified http url connection object.
getResponseMessage( ) Returns the response message for the specified http url connection object.
getSocketTimeout( ) Returns the specified datagram socket, server socket or socket timeout.
getURL( ) Returns the url object of the specified url connection object.
getUseCaches( ) Returns whether the specified url connection uses caches.
guessContent
TypeFromStream( )
Returns a guess of the content type for the specified input stream object.
hashCode( ) Returns the hash code of the specified url object.
isMulticastAddress( ) Returns whether the specified inet address is an IP multicast address.
openConnection( ) Returns a url connection object for the specified url object.
openStream( ) Returns an input stream object for the specified url connection object.
receive( ) Receives into the specified datagram packet using the specified datagram socket object.
sameFile( ) Returns whether the specified url objects refer to the same object.
send( ) Sends the specified datagram packet to the specified datagram socket object.
ServerSocket( ) Returns a new server socket object bound to the specified port and inet address object.
setAddress( ) Sets the inet address using the given inet address object on the specified datagram packet.
setAllow
UserInteraction( )
Sets whether the specified url connection object allows users interaction.
setContent
HandlerFactory( )
Sets the content handler factory of the specified utl connection object to the given content handler factory object.
setData( ) Sets the data buffer to the specified buffer object on the specified datagram object.
setDefault
AllowUserInteraction( )
Sets whether by default the specified url connection object will allow user interaction.
setDefault
RequestProperty( )
Sets the specified request property in the given url connection object to the specified default value.
setDefaultUseCaches( ) Sets whether by default the specified url connection object will use caches.
setDoInput( ) Sets whether the specified url connection object will do input.
setDoOutput( ) Sets whether the specified url connection object will do output.
setFollowRedirects( ) Sets whether HTTP redirects should occur automatically on the specified http url connection object.
setIfModifiedSince( ) Sets the if modified since field on the specified url connection object to the given value.
setLength( ) Sets the length of the data sent or received on the specified datagram object.
setPort( ) Sets the port on the specified datagram packet object.
setRequestMethod( ) Sets the request method in the given http url connection object to the specified value.
setRequestPropery( ) Sets the specified request property in the given url connection object to the specified value.
setSocketFactory( ) Sets the server socket's implementation factory to the specified socket implementation factory for the specified server socket object.
setSocketImplFactory( ) Sets the client's socket implementation factory to the specified socket implementation factory object.
setSocketTimeout( ) Sets the specified datagram socket, server socket or socket timeout value to the given number of milliseconds.
setUseCaches( ) Sets whether the specified url connection object will use caches.
Socket( ) Returns a new socket connected to the specified remote inet address object and port and local inet address object and port.
toExternalForm( ) Returns a string representation of the specified url object.
toString( ) Returns the implementation address and port of the specified server socket, socket, inet address, url connection or url object.
URL( ) Returns a new url object using the specified protocol name, host name and filename.
usingProxy( ) Returns whether the specified http url connect object is going through a proxy server.

 top of page
 Built with iScript Copyright © 1997-1999 Servertec. All rights reserved.
Last Modified: Tue Jan 26 22:19:03 EST 1999