Interface RestResponse


  • @SleeEvent(id=@ComponentId(name="@response.event.name@",vendor="@component.vendor@",version="@component.version@"))
    public interface RestResponse
    The standard SLEE events, corresponding to incoming REST responses, defined by the built-in REST API provided by a REST RA.
    • Method Detail

      • getStatusCode

        int getStatusCode()
      • getStatusReason

        java.lang.String getStatusReason()
      • isServerResponse

        boolean isServerResponse()
      • setContent

        void setContent​(java.lang.String contentType,
                        byte[] contentAsBytes)
      • getContent

        byte[] getContent()
      • getContentType

        java.lang.String getContentType()
      • getHeader

        java.lang.String getHeader​(java.lang.String name)
      • setHeader

        void setHeader​(java.lang.String name,
                       java.lang.String value)
      • removeHeader

        void removeHeader​(java.lang.String name)
      • getContentLength

        int getContentLength()
      • getTrail

        com.opencloud.rhino.facilities.sas.Trail getTrail()