Neokernel API

HTTPResponse.addHeader Method

* Use this method to add a header value for a given header name. If the header name already has a value, the values are stored in an ArrayList and added to the hashtable under the header name.

public virtual void addHeader(
   string headerName,
   string headerValue
);

See Also

HTTPResponse Class | com.neokernel.httpd Namespace