Logo Search packages:      
Sourcecode: jaminid version File versions  Download package

void com::prolixtech::jaminid::Response::publishHeader (  )  throws IOException [inline]

Sends the header to the client. After this, no more headers can be set, no more cookies can be send

Exceptions:
IOException 

Definition at line 108 of file Response.java.

Referenced by com::prolixtech::jaminid::Connection::run(), and sendFile().

                                                   {
        if (headerPublished)
            return;
        out.write(statusLine.getBytes());

        for(String x : activeHeader.keySet()){
            out.write(this.CRLF());

            out.write(x.getBytes());
            out.write(':');
            out.write(' ');
            out.write((activeHeader.get(x)).getBytes());
        }

        out.write(this.CRLF());
        out.write(this.CRLF());
        this.headerPublished = true;

    }


Generated by  Doxygen 1.6.0   Back to index