public class HtmlUnitSessionHandler extends BrowserChannelClient.SessionHandlerClient
BrowserChannel.SessionHandler.ExceptionOrReturnValue, BrowserChannel.SessionHandler.SpecialDispatchId
Modifier and Type | Method and Description |
---|---|
void |
freeValue(BrowserChannelClient channel,
int[] ids) |
JavaObject |
getOrCreateJavaObject(int refId,
net.sourceforge.htmlunit.corejs.javascript.Context context) |
com.gargoylesoftware.htmlunit.html.HtmlPage |
getSynchronizationObject() |
Object |
getToStringTearOff(net.sourceforge.htmlunit.corejs.javascript.Context jsContext) |
String |
getUserAgent() |
BrowserChannel.SessionHandler.ExceptionOrReturnValue |
invoke(BrowserChannelClient channel,
BrowserChannel.Value thisObj,
String methodName,
BrowserChannel.Value[] args) |
void |
loadJsni(BrowserChannelClient channel,
String jsniString) |
BrowserChannel.Value |
makeValueFromJsval(net.sourceforge.htmlunit.corejs.javascript.Context jsContext,
Object value) |
void |
setSessionData(SessionData sessionData) |
public void freeValue(BrowserChannelClient channel, int[] ids)
freeValue
in class BrowserChannel.SessionHandler<BrowserChannelClient>
public JavaObject getOrCreateJavaObject(int refId, net.sourceforge.htmlunit.corejs.javascript.Context context)
public com.gargoylesoftware.htmlunit.html.HtmlPage getSynchronizationObject()
getSynchronizationObject
in class BrowserChannelClient.SessionHandlerClient
public Object getToStringTearOff(net.sourceforge.htmlunit.corejs.javascript.Context jsContext)
jsContext
- the Contextpublic String getUserAgent()
getUserAgent
in class BrowserChannelClient.SessionHandlerClient
public BrowserChannel.SessionHandler.ExceptionOrReturnValue invoke(BrowserChannelClient channel, BrowserChannel.Value thisObj, String methodName, BrowserChannel.Value[] args)
invoke
in class BrowserChannelClient.SessionHandlerClient
public void loadJsni(BrowserChannelClient channel, String jsniString)
loadJsni
in class BrowserChannelClient.SessionHandlerClient
public BrowserChannel.Value makeValueFromJsval(net.sourceforge.htmlunit.corejs.javascript.Context jsContext, Object value)
jsContext
- the Contextpublic void setSessionData(SessionData sessionData)
Copyright © 2018. All rights reserved.