Package jadex.extension.rs.publish
Class AbstractRestPublishService.ConversationInfo
- java.lang.Object
-
- jadex.extension.rs.publish.AbstractRestPublishService.ConversationInfo
-
- Enclosing class:
- AbstractRestPublishService
public static class AbstractRestPublishService.ConversationInfo extends java.lang.Object
Struct for storing info about a request and the results.
-
-
Field Summary
Fields Modifier and Type Field Description protected IFuture<?>
future
protected jakarta.servlet.http.HttpSession
session
protected boolean
terminated
-
Constructor Summary
Constructors Constructor Description ConversationInfo(jakarta.servlet.http.HttpSession session)
Create a request info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<?>
getFuture()
Get the future.jakarta.servlet.http.HttpSession
getSession()
boolean
isIntermediateFuture()
Test if it is an intermediate future.boolean
isTerminated()
Check if terminatedvoid
setFuture(IFuture<?> future)
void
setSession(jakarta.servlet.http.HttpSession session)
void
setTerminated()
Set it to terminated.
-
-
-
Field Detail
-
terminated
protected boolean terminated
-
future
protected IFuture<?> future
-
session
protected jakarta.servlet.http.HttpSession session
-
-
Method Detail
-
setTerminated
public void setTerminated()
Set it to terminated.
-
isTerminated
public boolean isTerminated()
Check if terminated- Returns:
- True if terminated.
-
getFuture
public IFuture<?> getFuture()
Get the future.- Returns:
- the future
-
setFuture
public void setFuture(IFuture<?> future)
- Parameters:
future
- the future to set
-
getSession
public jakarta.servlet.http.HttpSession getSession()
- Returns:
- the session
-
setSession
public void setSession(jakarta.servlet.http.HttpSession session)
- Parameters:
session
- the session to set
-
isIntermediateFuture
public boolean isIntermediateFuture()
Test if it is an intermediate future.- Returns:
- True, if is intermediate future.
-
-