Class SseResponse

java.lang.Object
org.apache.hc.core5.http.message.HeaderGroup
org.apache.hc.core5.http.message.BasicHttpResponse
org.apache.hc.core5.http.message.BasicClassicHttpResponse
com.luna.common.net.sse.SseResponse
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable, org.apache.hc.core5.http.ClassicHttpResponse, org.apache.hc.core5.http.HttpEntityContainer, org.apache.hc.core5.http.HttpMessage, org.apache.hc.core5.http.HttpResponse, org.apache.hc.core5.http.MessageHeaders

public class SseResponse extends org.apache.hc.core5.http.message.BasicClassicHttpResponse
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    SseResponse(org.apache.hc.core5.http.HttpResponse original, org.apache.hc.core5.http.ContentType contentType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.apache.hc.core5.http.HttpResponse
     

    Methods inherited from class org.apache.hc.core5.http.message.BasicClassicHttpResponse

    close, setEntity

    Methods inherited from class org.apache.hc.core5.http.message.BasicHttpResponse

    addHeader, getCode, getLocale, getReason, getReasonPhrase, getVersion, setCode, setHeader, setLocale, setReasonPhrase, setVersion, toString

    Methods inherited from class org.apache.hc.core5.http.message.HeaderGroup

    addHeader, clear, containsHeader, countHeaders, getCondensedHeader, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator, removeHeader, removeHeaders, removeHeaders, setHeader, setHeaders

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.hc.core5.http.HttpMessage

    addHeader, addHeader, getVersion, removeHeader, removeHeaders, setHeader, setHeader, setHeaders, setVersion

    Methods inherited from interface org.apache.hc.core5.http.HttpResponse

    getCode, getLocale, getReasonPhrase, setCode, setLocale, setReasonPhrase

    Methods inherited from interface org.apache.hc.core5.http.MessageHeaders

    containsHeader, countHeaders, getFirstHeader, getHeader, getHeaders, getHeaders, getLastHeader, headerIterator, headerIterator
  • Constructor Details

    • SseResponse

      public SseResponse(org.apache.hc.core5.http.HttpResponse original, org.apache.hc.core5.http.ContentType contentType)
  • Method Details

    • getEntity

      public SseEntity getEntity()
      Specified by:
      getEntity in interface org.apache.hc.core5.http.HttpEntityContainer
      Overrides:
      getEntity in class org.apache.hc.core5.http.message.BasicClassicHttpResponse
    • getOriginal

      public org.apache.hc.core5.http.HttpResponse getOriginal()