php.java.script
Interface IPhpScriptContext

All Superinterfaces:
IContext, Invocable
All Known Implementing Classes:
AbstractPhpScriptContext, PhpScriptContext, PhpSimpleHttpScriptContext

public interface IPhpScriptContext
extends Invocable, IContext

Common methods for all PHP ScriptContexts

Author:
jostb

Field Summary
 
Fields inherited from interface php.java.bridge.http.IContext
ENGINE_SCOPE, GLOBAL_SCOPE, JAVA_BRIDGE, SERVLET, SERVLET_CONFIG, SERVLET_CONTEXT, SERVLET_REQUEST, SERVLET_RESPONSE
 
Method Summary
 java.lang.String getContextString()
          Return the context string, for example http://localhost:8080/JavaBridge
 HttpProxy getContinuation()
          Get the php continuation
 java.lang.String getSocketName()
          Return the socket name, for example 8080
 java.io.Writer getWriter()
          Returns the Writer
 void setContinuation(HttpProxy kont)
          Set the php continuation
 void setWriter(java.io.Writer writer)
          Set the Writer
 
Methods inherited from interface php.java.bridge.Invocable
call
 
Methods inherited from interface php.java.bridge.http.IContext
getAttribute, getAttribute, getAttributesScope, removeAttribute, setAttribute
 

Method Detail

getWriter

java.io.Writer getWriter()
Returns the Writer

Specified by:
getWriter in interface IContext
Returns:
The writer

setWriter

void setWriter(java.io.Writer writer)
Set the Writer

Parameters:
writer - The writer

setContinuation

void setContinuation(HttpProxy kont)
Set the php continuation

Parameters:
kont - The continuation.

getContinuation

HttpProxy getContinuation()
Get the php continuation

Returns:
The HttpProxy

getContextString

java.lang.String getContextString()
Return the context string, for example http://localhost:8080/JavaBridge

Returns:
the context string

getSocketName

java.lang.String getSocketName()
Return the socket name, for example 8080

Returns:
the socket name