Class OutboundSseEventImpl.BuilderImpl

java.lang.Object
org.jboss.resteasy.plugins.providers.sse.OutboundSseEventImpl.BuilderImpl
All Implemented Interfaces:
jakarta.ws.rs.sse.OutboundSseEvent.Builder
Enclosing class:
OutboundSseEventImpl

public static class OutboundSseEventImpl.BuilderImpl extends Object implements jakarta.ws.rs.sse.OutboundSseEvent.Builder
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.sse.OutboundSseEvent
     
    jakarta.ws.rs.sse.OutboundSseEvent.Builder
    comment(String comment)
     
    jakarta.ws.rs.sse.OutboundSseEvent.Builder
    data(jakarta.ws.rs.core.GenericType type, Object data)
     
    jakarta.ws.rs.sse.OutboundSseEvent.Builder
    data(Class type, Object data)
     
    jakarta.ws.rs.sse.OutboundSseEvent.Builder
    data(Object data)
     
    jakarta.ws.rs.sse.OutboundSseEvent.Builder
    id(String id)
     
    jakarta.ws.rs.sse.OutboundSseEvent.Builder
    mediaType(jakarta.ws.rs.core.MediaType mediaType)
     
    jakarta.ws.rs.sse.OutboundSseEvent.Builder
    name(String name)
     
    jakarta.ws.rs.sse.OutboundSseEvent.Builder
    reconnectDelay(long milliseconds)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BuilderImpl

      public BuilderImpl()
  • Method Details

    • name

      public jakarta.ws.rs.sse.OutboundSseEvent.Builder name(String name)
      Specified by:
      name in interface jakarta.ws.rs.sse.OutboundSseEvent.Builder
    • id

      public jakarta.ws.rs.sse.OutboundSseEvent.Builder id(String id)
      Specified by:
      id in interface jakarta.ws.rs.sse.OutboundSseEvent.Builder
    • reconnectDelay

      public jakarta.ws.rs.sse.OutboundSseEvent.Builder reconnectDelay(long milliseconds)
      Specified by:
      reconnectDelay in interface jakarta.ws.rs.sse.OutboundSseEvent.Builder
    • mediaType

      public jakarta.ws.rs.sse.OutboundSseEvent.Builder mediaType(jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      mediaType in interface jakarta.ws.rs.sse.OutboundSseEvent.Builder
    • comment

      public jakarta.ws.rs.sse.OutboundSseEvent.Builder comment(String comment)
      Specified by:
      comment in interface jakarta.ws.rs.sse.OutboundSseEvent.Builder
    • data

      public jakarta.ws.rs.sse.OutboundSseEvent.Builder data(Class type, Object data)
      Specified by:
      data in interface jakarta.ws.rs.sse.OutboundSseEvent.Builder
    • data

      public jakarta.ws.rs.sse.OutboundSseEvent.Builder data(jakarta.ws.rs.core.GenericType type, Object data)
      Specified by:
      data in interface jakarta.ws.rs.sse.OutboundSseEvent.Builder
    • data

      public jakarta.ws.rs.sse.OutboundSseEvent.Builder data(Object data)
      Specified by:
      data in interface jakarta.ws.rs.sse.OutboundSseEvent.Builder
    • build

      public jakarta.ws.rs.sse.OutboundSseEvent build()
      Specified by:
      build in interface jakarta.ws.rs.sse.OutboundSseEvent.Builder