Package jadex.publishservice.impl
Class RequestManager.ResponseInfo
java.lang.Object
jadex.publishservice.impl.RequestManager.ResponseInfo
- Enclosing class:
RequestManager
Info struct for response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new response info.ResponseInfo(Object result) Create a new response info. -
Method Summary
Modifier and TypeMethodDescriptionGet the exception.getMax()jakarta.servlet.http.HttpServletRequestjakarta.servlet.http.HttpServletResponseintbooleanbooleanCheck if it is a SSE request.setException(Exception exception) Set the exception.setFinished(boolean finished) setRequest(jakarta.servlet.http.HttpServletRequest request) setResponse(jakarta.servlet.http.HttpServletResponse response) setResultTypes(List<String> resulttypes) setStatus(int status)
-
Field Details
-
result
-
exception
-
method
-
status
protected int status -
callid
-
mi
-
request
protected jakarta.servlet.http.HttpServletRequest request -
response
protected jakarta.servlet.http.HttpServletResponse response -
finished
protected boolean finished -
max
-
resulttypes
-
-
Constructor Details
-
ResponseInfo
public ResponseInfo()Create a new response info. -
ResponseInfo
Create a new response info.- Parameters:
result-
-
-
Method Details
-
getResult
- Returns:
- the result
-
setResult
- Parameters:
result- the result to set
-
getException
Get the exception.- Returns:
- the exception
-
setException
Set the exception.- Parameters:
exception- the exception to set
-
getStatus
public int getStatus()- Returns:
- the status
-
setStatus
- Parameters:
status- the status to set
-
getCallid
- Returns:
- the callid
-
setCallid
- Parameters:
callid- the callid to set
-
getMappingInfo
- Returns:
- the mi
-
setMappingInfo
- Parameters:
mi- the mi to set
-
getRequest
public jakarta.servlet.http.HttpServletRequest getRequest()- Returns:
- the request
-
setRequest
- Parameters:
request- the request to set
-
getResponse
public jakarta.servlet.http.HttpServletResponse getResponse()- Returns:
- the response
-
setResponse
- Parameters:
response- the response to set
-
isFinished
public boolean isFinished()- Returns:
- the finished
-
setFinished
- Parameters:
finished- the finished to set
-
getMethod
- Returns:
- the method
-
setMethod
- Parameters:
method- the method to set
-
getMax
- Returns:
- the max
-
setMax
- Parameters:
max- the max to set
-
getResultTypes
- Returns:
- the resulttypes
-
setResultTypes
- Parameters:
resulttype- the resulttypes to set
-
isSSERequest
public boolean isSSERequest()Check if it is a SSE request.- Returns:
- True, if is sse request.
-