Package de.elo.ix.client
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
FieldsModifier and TypeFieldDescriptionstatic 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
ConstructorsConstructorDescriptionIXWireClient
(String url, int flags, int timeoutSeconds, HttpCookie sessionCookie, Executor threadPool) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
addRef()
Increment the reference counter if 'this' is used by more than oneIXConnection
.void
done()
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
-
Field Details
-
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.BWiretimeoutSeconds
- HTTP connection and request timeout.sessionCookie
- Optional session cookie or null.threadPool
- Optional thread pool or null.
-
-
Method Details
-
getServletPathForNegotiationAndAuthentication
SSO Authentifizierung nicht über BYPS. Hier wird zurückgegeben: /byps- Overrides:
getServletPathForNegotiationAndAuthentication
in classbyps.http.HWireClient
- Returns:
- servlet path of the URL that was passed in the constructor, e.g. "/byps".
-
getUrlForAuthentication
-
executeInBackground
-
getTimeoutSeconds
public int getTimeoutSeconds() -
addRef
public int addRef()Increment the reference counter if 'this' is used by more than oneIXConnection
.- Returns:
- Incremented reference count
-
done
public void done()Description copied from class:byps.BWire
Kill all requests and free resources.- Overrides:
done
in classbyps.http.HWireClient
-