XSQLRequest - Oracle 9i

Syntax:

Description:

Programmatically process a request for an XSQL Page.

XSQLRequestXSQLRequest

XSQLRequest

Constructors

XSQLRequest(String):

public XSQLRequest(java.lang.String url)

Create a Request for an XSQL Page

Parameters

url - String representation of an URL to an XSQL Page

XSQLRequest(String, XSQLPageRequest):

public XSQLRequest(java.lang.String url,XSQLPageRequest env)

Create a Request for an XSQL Page

Parameters

url - String representation of an URL to an XSQL Page env - Calling XSQLPageRequest environment

XSQLRequest(URL):

public XSQLRequest(java.net.URL url)

Create a Request for an XSQL Page

Parameters

url - URL to an XSQL Page

XSQLRequest(URL, XSQLPageRequest):

public XSQLRequest(java.net.URL url,XSQLPageRequest env)

Create a Request for an XSQL Page

Parameters

url - URL to an XSQL Page env - Calling XSQLPageRequest environment

Methods

process():

public void process()

Process the request, writing output/errors to System.out/System.err

process(Dictionary):

public void process(java.util.Dictionary params)

Process the request, writing output/errors to System.out/System.err

Parameters:

params - Dictionary (e.g. Hashtable)with XSQL Page parameters

process(Dictionary, PrintWriter, PrintWriter):

public void process(java.util.Dictionary params, java.io.PrintWriter out,java.io.PrintWriter err)

Process the request, writing output/errors to respective PrintWriters

Parameters

params - Dictionary (e.g. Hashtable) with XSQL Page parameters out - PrintWriter to use to write the resulting page results err - PrintWriter to use to write the resulting page errors

process(PrintWriter, PrintWriter):

public void process(java.io.PrintWriter out, java.io.PrintWriter err)

Process the request, writing output/errors to respective PrintWriters

Parameters

out - PrintWriter to use to write the resulting page results err - PrintWriter to use to write the resulting page errors

processToXML():

public org.w3c.dom.Document processToXML()

Process the request, writing output/errors to System.out/System.err

processToXML(Dictionary):

public org.w3c.dom.Document processToXML (java.util.Dictionary params)

Process the request, writing output/errors to System.out/System.err

Parameters

params - Dictionary (e.g. Hashtable) with XSQL Page parameters

processToXML(Dictionary, PrintWriter):

public org.w3c.dom.Document processToXML (java.util.Dictionary params,java.io.PrintWriter err)

Process the request, writing output/errors to respective PrintWriters

Parameters

params - Dictionary (e.g. Hashtable) with XSQL Page parameters err - PrintWriter to use to write the resulting page errors

processToXML(PrintWriter):

public org.w3c.dom.Document processToXML(java.io.PrintWriter err) Process the request, writing errors to respective PrintWriters

Parameters

err -PrintWriter to use to write the resulting page errors

setPostedDocument(Document):

public void setPostedDocument(org.w3c.dom.Document postedDoc)

Programmatically set an XML Document to be treated the same as if it were posted as part of the request.

Parameters

postedDoc - DOM Document

XSQLRequestObjectListener :

Interface that an object created by an action handler can implement to be notified when the current page request processing is completed. It has a single method:

void pageProcessingCompleted()

Objects that implement this interface and which are added to the current request context using XSQLPageRequest::setRequestObject() will be notified when the page processing of the outermost page is completed.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Oracle 9i Topics