docs.roxen.comBack to normal mode
DocsRoxenWebServer 5.4System Developer Manual JavaReference for Roxen Java classes
Copyright © 2018, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

RoxenResponse

: Class RoxenResponse

com.roxen.roxen
Class RoxenResponse


java.lang.Object
  |
  +--com.roxen.roxen.RoxenResponse
Direct Known Subclasses:
RoxenFileResponse, RoxenStringResponse
public abstract class RoxenResponse
extends java.lang.Object

The base class for response objects. Use the methods in the HTTP class to create response objects.

See Also:
RoxenLib

Method Summary
 void addHTTPHeader(java.lang.String name, java.lang.String value)
          Add a specific HTTP header to the response
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addHTTPHeader


public void addHTTPHeader(java.lang.String name,
                          java.lang.String value)
Add a specific HTTP header to the response
Parameters:
name - the name of the header
value - the value of the header