Neokernel API

HTTPAgentRequest Properties

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

Public Instance Properties

ClientInputStream If an input stream to the client was provided, this method will return that stream.
ContentLength This returns the content length of the request. If the content length was not specified, -1 is returned.
ContentType (inherited from AgentRequest) Specifies the content type for output to the standard OutputStream.
Cookies This method will return a Props of the cookie name=value pairs submitted with the client's request. If no cookies are provided with the request, the props is empty. Duplicate names are ignored. Note that the cookie values in the returned Props may not have originated from the same cookie; the 'expires', 'path', etc are not included in the client's request header.
ErrorStream (inherited from AgentRequest) Returns a reference to the error OutputStream.
HeadRequest Returns true if the request is a headers only request
IfModifiedSince This method returns a DateTime Object that corresponds to the request's If-Modifed-Since field. This date can be used to determine if the data requested has been changed and needs to be resent. If not, a 304 response should be returned. In the event that this field doesn't exist, a DateTime of 0 is returned.
Keys (inherited from Props) Returns a Vector containing the names of property keys currently accessible by getProperty.
OutputStream (inherited from AgentRequest) Returns a reference to the standard OutputStream.
Props (inherited from AgentRequest) Returns a reference to the Props assigned to this request.
PropsContainer (inherited from Props) The IPropsContainer used to access and store properties for this object.
RequestBody This method returns the body of the client's request.
RequestHeaders This method returns the headers from the client's request.
RequestType (inherited from AgentRequest) Returns the type assigned to this request by its sender.
Writer (inherited from AgentRequest) Returns a reference to the Writer assigned to this request.

See Also

HTTPAgentRequest Class | com.neokernel.httpd Namespace | SessionManager