Class InboundSseEventImpl

  • All Implemented Interfaces:
    javax.ws.rs.sse.InboundSseEvent, javax.ws.rs.sse.SseEvent

    public class InboundSseEventImpl
    extends Object
    implements javax.ws.rs.sse.InboundSseEvent
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface javax.ws.rs.sse.SseEvent
      • getId

        public String getId()
        Specified by:
        getId in interface javax.ws.rs.sse.SseEvent
      • getComment

        public String getComment()
        Specified by:
        getComment in interface javax.ws.rs.sse.SseEvent
      • getReconnectDelay

        public long getReconnectDelay()
        Specified by:
        getReconnectDelay in interface javax.ws.rs.sse.SseEvent
      • isReconnectDelaySet

        public boolean isReconnectDelaySet()
        Specified by:
        isReconnectDelaySet in interface javax.ws.rs.sse.SseEvent
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface javax.ws.rs.sse.InboundSseEvent
      • readData

        public String readData()
        Specified by:
        readData in interface javax.ws.rs.sse.InboundSseEvent
      • readData

        public <T> T readData​(Class<T> type)
        Specified by:
        readData in interface javax.ws.rs.sse.InboundSseEvent
      • readData

        public <T> T readData​(javax.ws.rs.core.GenericType<T> type)
        Specified by:
        readData in interface javax.ws.rs.sse.InboundSseEvent
      • readData

        public <T> T readData​(Class<T> messageType,
                              javax.ws.rs.core.MediaType mediaType)
        Specified by:
        readData in interface javax.ws.rs.sse.InboundSseEvent
      • readData

        public <T> T readData​(javax.ws.rs.core.GenericType<T> type,
                              javax.ws.rs.core.MediaType mediaType)
        Specified by:
        readData in interface javax.ws.rs.sse.InboundSseEvent
      • getRawData

        public byte[] getRawData()
      • getMediaType

        public javax.ws.rs.core.MediaType getMediaType()