Class AbstractRestPublishService.ResponseInfo

  • Enclosing class:
    AbstractRestPublishService

    public static class AbstractRestPublishService.ResponseInfo
    extends java.lang.Object
    Info struct for response.
    • Field Detail

      • result

        protected java.lang.Object result
      • exception

        protected java.lang.Exception exception
      • method

        protected java.lang.reflect.Method method
      • status

        protected int status
      • callid

        protected java.lang.String callid
      • request

        protected jakarta.servlet.http.HttpServletRequest request
      • response

        protected jakarta.servlet.http.HttpServletResponse response
      • finished

        protected boolean finished
      • max

        protected java.lang.Integer max
      • resulttypes

        protected java.util.List<java.lang.String> resulttypes
      • sse

        protected boolean sse
    • Constructor Detail

      • ResponseInfo

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

        public ResponseInfo​(java.lang.Object result)
        Create a new response info.
        Parameters:
        result -
    • Method Detail

      • getResult

        public java.lang.Object getResult()
        Returns:
        the result
      • getException

        public java.lang.Exception getException()
        Get the exception.
        Returns:
        the exception
      • getStatus

        public int getStatus()
        Returns:
        the status
      • getCallid

        public java.lang.String getCallid()
        Returns:
        the callid
      • getRequest

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

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

        public boolean isFinished()
        Returns:
        the finished
      • getMethod

        public java.lang.reflect.Method getMethod()
        Returns:
        the method
      • getMax

        public java.lang.Integer getMax()
        Returns:
        the max
      • getResultTypes

        public java.util.List<java.lang.String> getResultTypes()
        Returns:
        the resulttypes
      • isSSERequest

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

        public boolean isSSEConnectionAvailable()
        Check if sse connection is available.
        Returns:
        True, if it is available.