php.java.script
Interface IScriptReader

All Known Implementing Classes:
URLReader

public interface IScriptReader

Read data from a URL or from a servlet and write the result to the output stream and a header parser.

Author:
jostb

Field Summary
static java.lang.String[] HEADER
          These header values appear in the environment map passed to PHP
 
Method Summary
 void read(java.util.Map env, java.io.OutputStream out, HeaderParser headerParser)
          Read from the URL and write the data to out.
 

Field Detail

HEADER

static final java.lang.String[] HEADER
These header values appear in the environment map passed to PHP

Method Detail

read

void read(java.util.Map env,
          java.io.OutputStream out,
          HeaderParser headerParser)
          throws java.io.IOException
Read from the URL and write the data to out.

Parameters:
env - The environment, must contain values for X_JAVABRIDGE_CONTEXT. It may contain X_JAVABRIDGE_OVERRIDE_HOSTS.
out - The OutputStream.
headerParser - The header parser
Throws:
java.io.IOException
ServletException