Class SseRequest

java.lang.Object
org.apache.hc.core5.http.message.HeaderGroup
org.apache.hc.core5.http.message.BasicHttpRequest
org.apache.hc.core5.http.message.BasicClassicHttpRequest
org.apache.hc.client5.http.classic.methods.HttpUriRequestBase
org.apache.hc.client5.http.classic.methods.HttpGet
com.luna.common.net.method.SseRequest
All Implemented Interfaces:
Serializable, org.apache.hc.client5.http.classic.methods.HttpUriRequest, org.apache.hc.client5.http.config.Configurable, org.apache.hc.core5.concurrent.Cancellable, org.apache.hc.core5.concurrent.CancellableDependency, org.apache.hc.core5.http.ClassicHttpRequest, org.apache.hc.core5.http.HttpEntityContainer, org.apache.hc.core5.http.HttpMessage, org.apache.hc.core5.http.HttpRequest, org.apache.hc.core5.http.MessageHeaders

public class SseRequest extends org.apache.hc.client5.http.classic.methods.HttpGet
Allows us to set the correct Accept header automatically and always use HTTP GET.
See Also:
  • Field Summary

    Fields inherited from class org.apache.hc.client5.http.classic.methods.HttpGet

    METHOD_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Methods inherited from class org.apache.hc.client5.http.classic.methods.HttpUriRequestBase

    abort, cancel, getConfig, isAborted, isCancelled, reset, setConfig, setDependency, toString

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

    getEntity, setEntity

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

    addHeader, getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, getVersion, setAbsoluteRequestUri, setAuthority, setHeader, setPath, setScheme, setUri, setVersion

    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.HttpEntityContainer

    getEntity, setEntity

    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.HttpRequest

    getAuthority, getMethod, getPath, getRequestUri, getScheme, getUri, setAuthority, setPath, setScheme, setUri

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

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

    • SseRequest

      public SseRequest(URI uri)
    • SseRequest

      public SseRequest(String uri)