Class IXWireClient

java.lang.Object
byps.BWire
byps.http.HWireClient
de.elo.ix.client.IXWireClient
Direct Known Subclasses:
IXConnFactory.MyWireClient

public class IXWireClient extends byps.http.HWireClient
A HWireClient class special to ELO Indexserver.
  • Nested Class Summary

    Nested classes/interfaces inherited from class byps.http.HWireClient

    byps.http.HWireClient.AsyncResultAfterAllRequests, byps.http.HWireClient.MyInputStream, byps.http.HWireClient.RequestToCancel

    Nested classes/interfaces inherited from class byps.BWire

    byps.BWire.InputStreamByteCount, byps.BWire.InputStreamWrapper, byps.BWire.OutputStreamByteCount, byps.BWire.Statistics
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final HttpCookie
    Value that should be used to ignore sessionCookie parameter in IXWireClient constructor.

    Fields inherited from class byps.http.HWireClient

    CHUNK_SIZE, httpClient, isDone, isMyThreadPool, log, MAX_STREAM_PART_SIZE, MESSAGEID_CANCEL_ALL_REQUESTS, MESSAGEID_DISCONNECT, openRequestsToCancel, stats, surl, SYSTEM_PROPERTY_HTTP_CLIENT_FACTORY, testAdapter, threadPool, timeoutSecondsClient

    Fields inherited from class byps.BWire

    FLAG_DEFAULT, FLAG_GZIP, flags, rand, sess
  • Constructor Summary

    Constructors
    Constructor
    Description
    IXWireClient(String url, int flags, int timeoutSeconds, HttpCookie sessionCookie, Executor threadPool)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Increment the reference counter if 'this' is used by more than one IXConnection.
    void
    Kill all requests and free resources.
    void
     
    SSO Authentifizierung nicht über BYPS.
    int
     
     

    Methods inherited from class byps.http.HWireClient

    addRequest, applyNegotiateForUtilityRequests, clearStatistics, createRequestForCancelMessage, createRequestForGetStream, createRequestForMessage, createRequestForPutStream, executeRequest, findRequest, getHttpClient, getHttpCookie, getHttpCookies, getHttpSession, getServletPathForReverseRequest, getStatistics, getStream, getTestAdapter, internalCancelAllRequests, putStreams, removeRequest, replaceAsyncResultOfRequestForPollProcessing, send, sendCancelMessage, sendR, setHttpCookie, setHttpCookies, toString

    Methods inherited from class byps.BWire

    bufferFromStream, bufferFromStream, bufferToStream, getFlags, getInvalidUntilMillis, getSessionContext, internalInit, isRetryException, makeMessageId, setSessionContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • NEW_HTTP_SESSION

      public static final HttpCookie NEW_HTTP_SESSION
      Value that should be used to ignore sessionCookie parameter in IXWireClient constructor.
  • Constructor Details

    • IXWireClient

      public IXWireClient(String url, int flags, int timeoutSeconds, HttpCookie sessionCookie, Executor threadPool)
      Constructor.
      Parameters:
      url - Indexserver URL to BYPS servlet.
      flags - Options passed to byps.BWire
      timeoutSeconds - HTTP connection and request timeout.
      sessionCookie - Optional session cookie or null.
      threadPool - Optional thread pool or null.
  • Method Details

    • getServletPathForNegotiationAndAuthentication

      public String getServletPathForNegotiationAndAuthentication()
      SSO Authentifizierung nicht über BYPS. Hier wird zurückgegeben: /byps
      Overrides:
      getServletPathForNegotiationAndAuthentication in class byps.http.HWireClient
      Returns:
      servlet path of the URL that was passed in the constructor, e.g. "/byps".
    • getUrlForAuthentication

      public String getUrlForAuthentication()
    • executeInBackground

      public void executeInBackground(Runnable run)
    • getTimeoutSeconds

      public int getTimeoutSeconds()
    • addRef

      public int addRef()
      Increment the reference counter if 'this' is used by more than one IXConnection.
      Returns:
      Incremented reference count
    • done

      public void done()
      Description copied from class: byps.BWire
      Kill all requests and free resources.
      Overrides:
      done in class byps.http.HWireClient