Neokernel API

WebServer.getHTMLByCode Method

This method uses the return codes (static final int) in this Class to return a generic response.

Overload List

This method uses the return codes (static final int) in this Class to return a generic response.

public static string getHTMLByCode(int)

This method uses the return codes (static final int) in this Class to return a generic response. If a keep-alive connection is to be maintained, use the keepAliveField parameter to indicate that the response should contain a 'Connection: Keep-Alive' field and include the parameter also as a field.

public static string getHTMLByCode(int,string)

This method uses the return codes (static final int) in this Class to return a generic response. This method also supports the keepAliveField parameter as well as any extra headers that needs to be included in the generic response.

public static string getHTMLByCode(int,string,string)

See Also

WebServer Class | com.neokernel.httpd Namespace