etm.contrib.console
Interface ConsoleResponse

All Known Implementing Classes:
ServletConsoleResponse, StandaloneConsoleResponse

public interface ConsoleResponse

Represents the HTTP response.

Version:
$Revision: 41 $
Author:
void.fm

Method Summary
 void addHeader(java.lang.String header, java.lang.String value)
           
 void sendRedirect(java.lang.String target, java.util.Map parameters)
           
 void sendStatus(int statusCode, java.lang.String description)
           
 void write(byte[] content)
           
 void write(char[] content)
           
 void write(java.lang.String content)
           
 

Method Detail

addHeader

void addHeader(java.lang.String header,
               java.lang.String value)

write

void write(java.lang.String content)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(char[] content)
           throws java.io.IOException
Throws:
java.io.IOException

write

void write(byte[] content)
           throws java.io.IOException
Throws:
java.io.IOException

sendRedirect

void sendRedirect(java.lang.String target,
                  java.util.Map parameters)

sendStatus

void sendStatus(int statusCode,
                java.lang.String description)


Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.