|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFixedData
com.wm.app.b2b.server.InvokeState
public class InvokeState
The InvokeState encapsulates some of the most important information about service invocations on the webMethods Integration Server. This includes:
ContentHandler
interface, this
class will be interesting to you because of the getXXX methods. The
setXXX methods have been marked as "semi-protected"; they are intended
for the implementation of server listeners.
ContentHandler
Constructor Summary | |
---|---|
InvokeState()
|
Method Summary | |
---|---|
java.lang.String |
getContentEncoding()
Returns the encoding of the content. |
ContentInfo |
getContentInfo()
Returns the ContentInfo object. |
java.lang.String |
getContentType()
Returns the content type of the input posted to this service. |
static iContext |
getCurrentIContext()
Returns the client iContext for this session. |
static java.util.Locale |
getCurrentLocale()
Returns the client locale for this session. |
static NSService |
getCurrentService()
Returns the service info of the current invoke state. |
static Session |
getCurrentSession()
Returns the session of the current invoke state. |
static java.net.Socket |
getCurrentSocket()
Returns the socket of the current invoke state. |
static InvokeState |
getCurrentState()
Returns the current thread's invoke state. |
static User |
getCurrentUser()
Returns the user of the current invoke state. |
iContext |
getIContext()
Returns the iContext associated with this InvokeState. |
iContext |
getIContextPolicy()
Returns the iContext policy for this session or service. |
Values |
getInput()
Returns the input to this service. |
java.util.Locale |
getLocale()
Deprecated. Replaced by getSessionIContext |
IData |
getPipeline()
|
ProtocolInfoIf |
getProtocolInfoIf()
Accessor to the ProtocolInfoIf reference. |
NSService |
getService()
Returns information about the service being invoked. |
Session |
getSession()
Returns the session of the invoking thread. |
iContext |
getSessionIContext()
Returns the iContext from the session, not from the InvokeState. |
User |
getUser()
Returns the user associated with this invocation. |
java.lang.String |
getUserAgent()
Returns the user agent (e.g. |
static java.lang.Object[][] |
InvokeState_schema()
|
void |
setPipeline(IData pipeline)
|
static void |
setSessionUser(User newuser)
Set the user in the current InvokeState. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InvokeState()
Method Detail |
---|
public static java.lang.Object[][] InvokeState_schema()
public User getUser()
public java.lang.String getUserAgent()
public Session getSession()
public NSService getService()
public Values getInput()
public IData getPipeline()
public java.lang.String getContentType()
public ContentInfo getContentInfo()
public java.lang.String getContentEncoding()
public java.util.Locale getLocale()
public iContext getIContext()
This method always returns a concrete iContext. It does not return an abstract one. To get the policy associated with the service, use getIContextPolicy.
public iContext getIContextPolicy()
public iContext getSessionIContext()
public void setPipeline(IData pipeline)
public static void setSessionUser(User newuser)
newuser
- The user to become.public ProtocolInfoIf getProtocolInfoIf()
public static InvokeState getCurrentState()
public static java.net.Socket getCurrentSocket()
public static Session getCurrentSession()
public static java.util.Locale getCurrentLocale()
public static iContext getCurrentIContext()
public static NSService getCurrentService()
public static User getCurrentUser()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |