|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.rt.common.AbstractConnection | +--oracle.panama.messaging.xms.XMSConnectionBase
Field Summary |
Fields inherited from interface oracle.panama.rt.RequestParameterNames |
BRAND_NAME, CALLBACK_LABEL, CALLBACK_URL, CHARACTER_ENCODING, CONNXN_ID, DEBUG, DEVICE_ID, EFFECTIVE_USER_NAME, FULL_CALLBACK_URL, GET_PAGE, GO_SESSION_HOME, LOCALE_PREFERENCE, LOGIN, LOGOFF, MODULE_STACK_SIZE, MS_XFORMER, PASSWORD, PATFOCUS, PATSELECTOR, REDIRECT, REFERER, REQUEST_LANDMARK, REQUEST_USER_PROFILE, SECTION, SERVICE_DESIGNER, SERVICE_OID, SERVICE_PATH, SESSION_HOME, SESSION_ID, SESSION_LANDMARK, SESSION_USER_PROFILE, SHORT_NAME, USER_NAME, VIRTUAL_URL, XFORMS_DOC_ID, XFORMS_EVENT_ID_PREFIX, XFORMS_RESERVED_PREFIX |
Fields inherited from interface oracle.panama.xhtml.XResponse |
MULTIMEDIA_AUDIO_TYPE, MULTIMEDIA_GRAMMAR_TYPE, MULTIMEDIA_IMAGE_TYPE, MULTIMEDIA_OTHER_TYPE, MULTIMEDIA_RINGTONE_TYPE, MULTIMEDIA_VIDEO_TYPE |
Constructor Summary | |
XMSConnectionBase(oracle.panama.rt.common.AbstractController controller) |
Method Summary | |
Response |
execute() Execute a newly created request. |
Arguments |
getArguments() Get the arguments containing all URL parameters and header attributes. |
java.lang.String |
getCharacterEncoding() Get the language and locale used for character encoding |
Point |
getCurrentLocation() Get the location of the user using one of the following sources, 1. |
java.util.Enumeration |
getHeaderAttributes() Get the enumeration of attributes obtained from http header or equivalent source. |
oracle.panama.xhtml.xforms.HostingRuntime |
getHostingRuntime() |
LocationMark |
getLocationMark() Get the landmark that identifies the location of the caller. |
java.lang.String |
getMidTierURL(oracle.panama.xhtml.view.AbstractViewRenderingContext context, oracle.xml.xforms.doc.XFormsAbstractElement source, oracle.xml.parser.v2.XMLElement target) Get the URL to the iASW server |
java.lang.String |
getRemoteAuthenticationType() Returns the name of the authentication scheme used to authenticate the user. |
java.lang.String |
getRemoteUser() Returns the name of the user making this request, if the user has been authenticated (say thru mod_sso), or null if the user has not been authenticated. |
java.lang.String |
getScheme() Get the scheme used for the request message. |
Arguments |
getServiceContextArguments() Get the input arguments from the service context. |
long |
getServiceOid() Get the value of "PAoid" parameter which specifies the object id of the requested service. |
java.lang.String |
getServiceParentURL() |
java.lang.String |
getServicePath() Get the value of "PAservicepath" which specifies the path of the requested service in the repository. |
java.lang.String |
getUserCookies() Hot spot for subclasses to get cookies from user agents. |
java.lang.String |
getUserHomeURL() |
boolean |
isRequestedSessionIdValid() Test if the requested session id is valid. |
boolean |
isSecure() Verify whether the request is transmitted over a secure channel such HTTPS or SSL. |
boolean |
isValid() Test if the user is authenticated and session has been established. |
void |
removeUserCookies() Hot spot for subclasses to revive cookies from user agents. |
void |
sendRedirect(java.lang.String location) Send a URL to redirect the user agent or runtime agent to another location. |
void |
setLocationMark(LocationMark landmark) Set the landmark that identifies the location of the caller. |
void |
setUserCookies(oracle.panama.rt.util.UserInfo userInfo) Hot spot for subclasses to set cookies in user agents. |
ServiceContext |
validate() Validate the request by authenticating the user and authorizing the service. |
void |
writeContent() Hot spot for subclasses to return the output mark up page. |
void |
writeContent(java.lang.String content) Hot spot for subclasses to return the output mark up page. |
Methods inherited from class oracle.panama.rt.common.AbstractConnection |
addRequestListener, addRequestListeners, addResponseListener, addResponseListeners, cacheAndRewriteURL, encodeURL, getAbstractController, getAddress, getApplicationParameter, getApplicationParameterMap, getApplicationParameterNames, getApplicationParameterValues, getAttribute, getAttributeNames, getAuthenticationType, getBinaryContent, getCarriers, getConnectionId, getConnUserInfo, getContent, getContentLength, getContentType, getDeliveryType, getDevice, getDeviceAddress, getDeviceId, getDocIdOfRenderableXformsDoc, getFileParameter, getFileParameterNames, getFileParameterValues, getInputValues, getJavaEncoding, getLocationAcquisitionTime, getMobileId, getModuleStackAction, getModuleVirtualURL, getParameter, getParameterNames, getParameters, getParameterValues, getProcessingContext, getProcessingContextImpl, getProfile, getRemoteAddress, getRequest, getRequestedSessionId, getResponse, getSection, getServiceId, getSession, getSessionEvent, getSessionImpl, getStyleAttribute, getSubscriberId, getTypeMismatchedTargets, getUserAgent, getUserDevice, getVirtualBrowserUserAgent, getXFormsDocument, getXFormsDocumentId, getXFormsParameters, getXhtmlDocumentURL, getXMLContent, hasXFormsFacetValidationError, invalidate, isAuthenticateUsingDeviceIdEnabled, isAutoLocated, isDebugOn, isProtocolSwitch, isProtocolSwitch, isSessionToBeTerminated, isVirtualUserEnabled, lookupRequest, notifyListeners, notifyListeners, popConnection, processScripletsAndURLs, pushConnection, putOutstandingRequest, removeApplicationParameter, removeAttribute, removeFileParameter, removeOutstandingRequest, removeParameter, removeRequestListener, removeRequestListeners, removeResponseListener, removeResponseListeners, replaceSession, rewriteMobileScriplets, rewriteMultimediaURL, rewriteResultURLs, setAttribute, setAutoLocated, setConnectionId, setContent, setContent, setContent, setContentType, setDebugOn, setDevice, setDocIdOfRenderableXformsDoc, setFileParameter, setJavaEncoding, setLocationAcquisitionTime, setModuleStackAction, setModuleVirtualURL, setParameter, setParameterFast, setProcessingContextImpl, setProfile, setRequestedSessionId, setRequestEventMask, setResponseEventMask, setSection, setSenderAddress, setSessionEvent, setSessionImpl, setTypeMismatchedTargets, setUserAgent, setUserInput, setXFormsDocument, setXFormsDocumentId, setXFormsParameters, setXFormsParameters, setXMLContent, terminateSession, writeErrorMessage, writeErrorMessage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.panama.rt.Request |
getServiceContext, getServiceHomeURL |
Methods inherited from interface oracle.panama.rt.Response |
getContent |
Constructor Detail |
public XMSConnectionBase(oracle.panama.rt.common.AbstractController controller)
Method Detail |
public Response execute() throws PanamaException
execute
in interface Request
execute
in class oracle.panama.rt.common.AbstractConnection
PanamaException
- if authentication or authorization failspublic java.lang.String getCharacterEncoding()
getCharacterEncoding
in interface Request
getCharacterEncoding
in class oracle.panama.rt.common.AbstractConnection
public java.lang.String getScheme()
getScheme
in interface Request
getScheme
in class oracle.panama.rt.common.AbstractConnection
public boolean isSecure()
isSecure
in interface Request
isSecure
in class oracle.panama.rt.common.AbstractConnection
public boolean isRequestedSessionIdValid()
isRequestedSessionIdValid
in interface Request
isRequestedSessionIdValid
in class oracle.panama.rt.common.AbstractConnection
public void sendRedirect(java.lang.String location) throws java.io.IOException
sendRedirect
in interface Response
sendRedirect
in class oracle.panama.rt.common.AbstractConnection
location
- the URL for the new targetjava.io.IOException
public void writeContent(java.lang.String content) throws PanamaException
writeContent
in class oracle.panama.rt.common.AbstractConnection
PanamaException
public void writeContent() throws PanamaException
writeContent
in class oracle.panama.rt.common.AbstractConnection
PanamaException
public void setUserCookies(oracle.panama.rt.util.UserInfo userInfo)
setUserCookies
in class oracle.panama.rt.common.AbstractConnection
public java.lang.String getUserCookies()
getUserCookies
in class oracle.panama.rt.common.AbstractConnection
public void removeUserCookies()
removeUserCookies
in class oracle.panama.rt.common.AbstractConnection
public java.util.Enumeration getHeaderAttributes()
getHeaderAttributes
in interface Request
getHeaderAttributes
in class oracle.panama.rt.common.AbstractConnection
public Arguments getServiceContextArguments()
getServiceContextArguments
in class oracle.panama.rt.common.AbstractConnection
public java.lang.String getRemoteUser()
public java.lang.String getRemoteAuthenticationType()
public boolean isValid()
public long getServiceOid() throws PanamaException
PanamaException
public java.lang.String getServicePath()
public Arguments getArguments() throws PanamaException
PanamaException
public ServiceContext validate() throws PanamaException
PanamaException
public void setLocationMark(LocationMark landmark)
setLocationMark
in interface Request
setLocationMark
in class oracle.panama.rt.common.AbstractConnection
landmark
- the landmark that identifies the location of the callerpublic LocationMark getLocationMark()
getLocationMark
in interface Request
getLocationMark
in class oracle.panama.rt.common.AbstractConnection
public Point getCurrentLocation() throws CallerLocationException
getCurrentLocation
in interface Request
getCurrentLocation
in class oracle.panama.rt.common.AbstractConnection
CallerLocationException
public java.lang.String getUserHomeURL()
public java.lang.String getServiceParentURL()
public oracle.panama.xhtml.xforms.HostingRuntime getHostingRuntime()
getHostingRuntime
in class oracle.panama.rt.common.AbstractConnection
public java.lang.String getMidTierURL(oracle.panama.xhtml.view.AbstractViewRenderingContext context, oracle.xml.xforms.doc.XFormsAbstractElement source, oracle.xml.parser.v2.XMLElement target)
context
- the XAnnotatorContext
source
- the Element
which contains the "href" attributetarget
- the Element
which contains the "href" attribute
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |