XSQLPageRequest - Oracle 9i

Syntax:

public interface XSQLPageRequest

All Known Implementing Classes:

XSQLPageRequestImpl

Description:

Interface representing a request for an XSQL Page

XSQLPageRequestXSQLPageRequestXSQLPageRequest

Methods

createNestedRequest(URL, Dictionary):

public XSQLPageRequest createNestedRequest (java.net.URL pageurl,java.util.Dictionary params)

Returns an instance of a nested Request

getConnectionName():

public java.lang.String getConnectionName()

Returns the name of the connection being used for this request May be null if no connection set/in-use.

getErrorWriter():

public java.io.PrintWriter getErrorWriter()

Returns a PrintWriter to print out errors processing this request

getJDBCConnection():

public java.sql.Connection getJDBCConnection()

Gets the JDBC connection being used for this request (can be null)

getPageEncoding():

public java.lang.String getPageEncoding()

Returns encoding of source XSQL Page associated with this request

getParameter(String):

public java.lang.String getParameter(java.lang.String name)

Returns the value of the requested parameter

Parameters

name - the name of the parameter

useHTMLErrors() Returns true if HTML-formatted error messages are desired for this request

getPostedDocument():

public oracle.xml.xsql.Document getPostedDocument()

Returns the content of Posted XML for this request as an XML Document

getRequestParamsAsXMLDocument():

public oracle.xml.xsql.Document getRequestParamsAsXMLDocument()

Returns the content of a Request parameters as an XML Document

getRequestType():

public java.lang.String getRequestType()

Returns a string identifying the type of page request being made.

getSourceDocumentURI():

public java.lang.String getSourceDocumentURI()

Returns a String representation of the requested document's URI

getStylesheetParameter(String):

public java.lang.String getStylesheetParameter (java.lang.String name)

Gets a stylesheet parameter by name

getStylesheetParameters():

public java.util.Enumeration getStylesheetParameters()

Gets an enumeration of stylesheet parameter names

getStylesheetURI():

public java.lang.String getStylesheetURI()

Returns the URI of the stylesheet to be used to process the result.

getUserAgent():

public java.lang.String getUserAgent()

Returns a String identifier of the requesting program

getWriter():

public java.io.PrintWriter getWriter()

Returns a PrintWriter used for writing out the results of a page request

getXSQLConnection():

public oracle.xml.xsql.XSQLConnection getXSQLConnection()

Gets the XSQLConnection Object being used for this request Might be null.

isIncludedRequest():

public boolean isIncludedRequest()

Returns true if this request is being included in another.

isOracleDriver():

public boolean isOracleDriver()

Returns true if the current connection uses the Oracle JDBC Driver

printedErrorHeader():

public boolean printedErrorHeader()

Returns the state of whether an Error Header has been printed

requestProcessed():

public void requestProcessed()

Allows Page Request to Perform end-of-request processing

setConnectionName(String):

public void setConnectionName(java.lang.String connName)

Sets the connection name to use for this request

setContentType(String):

public void setContentType(java.lang.String mimetype)

Sets the content type of the resulting page

setIncludingRequest(XSQLPageRequest):

public void setIncludingRequest(XSQLPageRequest includingEnv)

Sets the Including Page Request object for this request.

setPageEncoding(String):

public void setPageEncoding(java.lang.String enc)

Sets encoding of source XSQL page associated with this request.

setPageParam(String, String):

public void setPageParam(java.lang.String name, java.lang.String value)

Sets a dynamic page parameter value.

setPostedDocument(Document):

public void setPostedDocument(oracle.xml.xsql.Document doc)

Allows programmatic setting of the Posted Document

setPrintedErrorHeader(boolean):

public void setPrintedErrorHeader(boolean yes)

Sets whether an Error Header has been printed

setStylesheetParameter(String, String)

public void setStylesheetParameter (java.lang.String name, java.lang.String value)

Sets the value of a parameter to be passed to the associated stylesheet

setStylesheetURI(String):

public void setStylesheetURI(java.lang.String uri)

Sets the URI of the stylesheet to be used to process the result.

translateURL(String):

public java.lang.String translateURL (java.lang.String url)

Returns a string representing an absolute URL resolved relative to the base URI for this request.

useConnectionPooling():

public boolean useConnectionPooling()

Returns true if connection pooling is desired for this request

useHTMLErrors():

public boolean useHTMLErrors()

Returns true if HTML-formatted error messages are desired for this request

setRequestObject:

void setRequestObject(java.lang.String name,java.lang.Object obj)

Sets a request-scope object

getRequestObject:

java.lang.Object getRequestObject(java.lang.String name) Gets a request-scope object

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

Oracle 9i Topics