Class RequestManager.ResponseInfo

java.lang.Object
jadex.publishservice.impl.RequestManager.ResponseInfo
Enclosing class:
RequestManager

public class RequestManager.ResponseInfo extends Object
Info struct for response.
  • Field Details

    • result

      protected Object result
    • exception

      protected Exception exception
    • method

      protected Method method
    • status

      protected int status
    • callid

      protected String callid
    • mi

    • request

      protected jakarta.servlet.http.HttpServletRequest request
    • response

      protected jakarta.servlet.http.HttpServletResponse response
    • finished

      protected boolean finished
    • max

      protected Integer max
    • resulttypes

      protected List<String> resulttypes
  • Constructor Details

    • ResponseInfo

      public ResponseInfo()
      Create a new response info.
    • ResponseInfo

      public ResponseInfo(Object result)
      Create a new response info.
      Parameters:
      result -
  • Method Details

    • getResult

      public Object getResult()
      Returns:
      the result
    • setResult

      public RequestManager.ResponseInfo setResult(Object result)
      Parameters:
      result - the result to set
    • getException

      public Exception getException()
      Get the exception.
      Returns:
      the exception
    • setException

      public RequestManager.ResponseInfo setException(Exception exception)
      Set the exception.
      Parameters:
      exception - the exception to set
    • getStatus

      public int getStatus()
      Returns:
      the status
    • setStatus

      public RequestManager.ResponseInfo setStatus(int status)
      Parameters:
      status - the status to set
    • getCallid

      public String getCallid()
      Returns:
      the callid
    • setCallid

      public RequestManager.ResponseInfo setCallid(String callid)
      Parameters:
      callid - the callid to set
    • getMappingInfo

      public RequestManager.MappingInfo getMappingInfo()
      Returns:
      the mi
    • setMappingInfo

      Parameters:
      mi - the mi to set
    • getRequest

      public jakarta.servlet.http.HttpServletRequest getRequest()
      Returns:
      the request
    • setRequest

      public RequestManager.ResponseInfo setRequest(jakarta.servlet.http.HttpServletRequest request)
      Parameters:
      request - the request to set
    • getResponse

      public jakarta.servlet.http.HttpServletResponse getResponse()
      Returns:
      the response
    • setResponse

      public RequestManager.ResponseInfo setResponse(jakarta.servlet.http.HttpServletResponse response)
      Parameters:
      response - the response to set
    • isFinished

      public boolean isFinished()
      Returns:
      the finished
    • setFinished

      public RequestManager.ResponseInfo setFinished(boolean finished)
      Parameters:
      finished - the finished to set
    • getMethod

      public Method getMethod()
      Returns:
      the method
    • setMethod

      public RequestManager.ResponseInfo setMethod(Method method)
      Parameters:
      method - the method to set
    • getMax

      public Integer getMax()
      Returns:
      the max
    • setMax

      public RequestManager.ResponseInfo setMax(Integer max)
      Parameters:
      max - the max to set
    • getResultTypes

      public List<String> getResultTypes()
      Returns:
      the resulttypes
    • setResultTypes

      public RequestManager.ResponseInfo setResultTypes(List<String> resulttypes)
      Parameters:
      resulttype - the resulttypes to set
    • isSSERequest

      public boolean isSSERequest()
      Check if it is a SSE request.
      Returns:
      True, if is sse request.