Neokernel API

HTTPCheckKMethod Fields

The fields of the HTTPCheckKMethod class are listed below. For a complete list of HTTPCheckKMethod class members, see the HTTPCheckKMethod Members topic.

Public Static Fields

CONNECT_ERRORA connection error occurred
CONNECTEDThe connection to the host and port was established
CONNECTION_REFUSEDThe connection to the host and port was refused
NO_ROUTE_TO_HOSTNo route was available to the host and port
REQUEST_DENIEDA request was successful but the server denied access
REQUEST_ERRORA request error occurred after connecting. An error may have occurred on the server
REQUEST_NOT_FOUNDA request was successful but the page was not found, this is a 404 HTTP error
REQUEST_REDIRECTEDA request was successful but the server returned a redirect
REQUEST_SUCCESSFULA request was successful and a page was returned
REQUEST_TIMEOUTA request timed out. The server did not respond in time
REQUESTED_EMPTY_PAGEA request was successful but an empty page was returned
UNKNOWN_HOSTThe host was unknown, there was no dns entry for this host

Public Instance Fields

connectionResultThis is set after the method has been executed and will contain the connection result
host
pooledThread (inherited from KMethod)
port
request
requestLatencyThis is set after the method has been executed and will contain the latency of the request
requestPageThis is set after the method has been executed and will contain the page returned from the server
requestResultThis is set after the method has been executed and will contain the request result
timeoutSet this variable if you care about the timeout (in milliseconds), default is 60 seconds

Protected Instance Fields

args (inherited from KMethod)
debugName (inherited from KMethod)
method (inherited from KMethod)
obj (inherited from KMethod)
print_errors (inherited from KMethod)
run (inherited from KMethod)
verbose (inherited from KMethod)

See Also

HTTPCheckKMethod Class | com.neokernel.httpd Namespace