public class WebConversationService extends Object implements ConversationService
| Modifier and Type | Field and Description |
|---|---|
static String |
REQUEST_PARAM_CONVERSATION_ID |
static String |
REQUEST_PARAM_SUPPRESS_CONVERSATION_PROPAGATION |
static String |
SESSION_CONVERSATION_ID_PARAM_NAME |
| Constructor and Description |
|---|
WebConversationService(WebBeansContext webBeansContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
generateConversationId() |
String |
getConversationId()
Try to get the current conversationId from the servlet.
|
protected AtomicInteger |
getConversationIdCounter() |
protected javax.servlet.ServletRequest |
getCurrentServletRequest() |
protected AtomicInteger |
getSessionConversationIdCounter() |
public static final String REQUEST_PARAM_CONVERSATION_ID
public static final String REQUEST_PARAM_SUPPRESS_CONVERSATION_PROPAGATION
public static final String SESSION_CONVERSATION_ID_PARAM_NAME
public WebConversationService(WebBeansContext webBeansContext)
public String getConversationId()
getConversationId in interface ConversationServicepublic String generateConversationId()
generateConversationId in interface ConversationServiceprotected AtomicInteger getConversationIdCounter()
protected AtomicInteger getSessionConversationIdCounter()
null otherwiseprotected javax.servlet.ServletRequest getCurrentServletRequest()
null if this thread is not attached to a servlet requestCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.