Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

raining.core
Interface Response  view Response download Response.java


public interface Response

Interface for Response, including response header creation. Remember that headers need to cached as does data.


Method Summary
 byte[] getBytes()
          return as a stream of bytes.
 java.lang.String getString()
          to start with we use this.
 

Method Detail

getBytes

public byte[] getBytes()
return as a stream of bytes. preferred since we can use bytes throughout and avoid costly string to byte conversions.


getString

public java.lang.String getString()
to start with we use this.