- EMPTY - Static variable in class com.pcloud.networking.client.RequestBody
-
Used to construct an empty
RequestBody when there is no need to write any data to it
- EMPTY - Static variable in class com.pcloud.networking.protocol.DataSource
-
- endArray() - Method in class com.pcloud.networking.protocol.BytesReader
-
- endArray() - Method in class com.pcloud.networking.protocol.ForwardingProtocolReader
-
- endArray() - Method in class com.pcloud.networking.protocol.ForwardingProtocolResponseReader
-
- endArray() - Method in interface com.pcloud.networking.protocol.ProtocolReader
-
End reading an array from the source
- endObject() - Method in class com.pcloud.networking.protocol.BytesReader
-
- endObject() - Method in class com.pcloud.networking.protocol.ForwardingProtocolReader
-
- endObject() - Method in class com.pcloud.networking.protocol.ForwardingProtocolResponseReader
-
- endObject() - Method in interface com.pcloud.networking.protocol.ProtocolReader
-
End reading an object from the source
- endpoint() - Method in interface com.pcloud.networking.client.ApiChannel
-
- Endpoint - Class in com.pcloud.networking.client
-
Implementation to wrap the details of an endpoint - a host address, a port and a SocketAddress.
- Endpoint(String, int)
- Constructor for class com.pcloud.networking.client.Endpoint
-
- endpoint()
- Method in interface com.pcloud.networking.client.EndpointProvider
-
- endpoint(Endpoint)
- Method in class com.pcloud.networking.client.Request.Builder
-
- endpoint() - Method in class
com.pcloud.networking.client.Request
-
- endpoint() - Method in class
com.pcloud.networking.client.ResponseBody
-
- endpointConnectionError(Endpoint, IOException)
- Method in interface com.pcloud.networking.client.EndpointProvider
-
Called when an exception is thrown while connecting to the given
Endpoint
- EndpointProvider -
Interface in com.pcloud.networking.client
-
A contract for a provider object able to provide an
Endpoint
- endpointProvider(EndpointProvider)
- Method in class com.pcloud.networking.client.PCloudAPIClient.Builder
-
- endpointProvider()
- Method in class com.pcloud.networking.client.PCloudAPIClient
-
- endpointReadError(Endpoint, IOException)
- Method in interface com.pcloud.networking.client.EndpointProvider
-
Called when an exception is thrown while reading from the given
Endpoint
- endpointWriteError(Endpoint, IOException)
- Method in interface com.pcloud.networking.client.EndpointProvider
-
Called when an exception is thrown while writing to the given
Endpoint
- endRequest()
- Method in class com.pcloud.networking.protocol.BytesWriter
-
- endRequest()
- Method in class com.pcloud.networking.protocol.ForwardingProtocolRequestWriter
-
- endRequest() -
Method in interface com.pcloud.networking.protocol.ProtocolRequestWriter
-
Finish a request
- endResponse()
- Method in class com.pcloud.networking.protocol.BytesReader
-
- endResponse()
- Method in class com.pcloud.networking.protocol.ForwardingProtocolResponseReader
-
- endResponse()
- Method in interface com.pcloud.networking.protocol.ProtocolResponseReader
-
End reading a response from the data source
- enqueue(Callback<T>)
- Method in interface com.pcloud.networking.api.Call
-
Asynchronously send the request and notify callback
of its response or if an
error
occurred talking to the server, creating the request, or processing the response.
- enqueue(MultiCallback<T, R>) - Method in interface com.pcloud.networking.api.MultiCall
-
Enqueues asynchronously and calls a
MultiCallback to notify progress, completion or failure
- enqueue(Callback) - Method in interface com.pcloud.networking.client.Call
-
Enqueues the
Call on another thread.
- enqueue(MultiCallback) - Method in interface com.pcloud.networking.client.MultiCall
-
Executes the call on another thread and does not block the calling thread
- enqueueAndWait() - Method in interface com.pcloud.networking.api.Call
-
Sends a request on another thread but blocks the calling thread
until the operation is complete or an exception is thrown.
- enqueueAndWait(long, TimeUnit) - Method in interface com.pcloud.networking.api.Call
-
Sends a request on another thread but blocks the calling thread for
at most the amount of time specified in the arguments.
- enqueueAndWait() - Method in interface com.pcloud.networking.api.MultiCall
-
Enqueues on another thread but blocks the calling thread until completion or until an exception is thrown
- enqueueAndWait(long, TimeUnit) - Method in interface com.pcloud.networking.api.MultiCall
-
Enqueues on another thread but blocks the calling thread for
at most the amount of time specified in the arguments.
- enqueueAndWait() - Method in interface com.pcloud.networking.client.Call
-
Enqueues the call on another thread and blocks the calling thread
until the
Response is received or an exception is thrown.
- enqueueAndWait(long, TimeUnit) - Method in interface com.pcloud.networking.client.Call
-
Enqueues the call on another thread and blocks the calling thread
for at most the given time period after
which provides the
Response if ready.
- enqueueAndWait() - Method in interface com.pcloud.networking.client.MultiCall
-
Executes the calls on another thread but blocks the calling thread until the operation is complete or an exception is thrown.
- enqueueAndWait(long, TimeUnit) - Method in interface com.pcloud.networking.client.MultiCall
-
Executes the calls on another thread but blocks the calling thread for at most the duration specified in the arguments.
- equals(Object) - Method in class com.pcloud.networking.client.Endpoint
-
- equals(Object) - Method in class com.pcloud.networking.client.MultiResponse
-
- evictAll() - Method in class com.pcloud.networking.client.ConnectionPool
-
Close and remove all idle connections in the pool.
- execute() - Method in interface com.pcloud.networking.api.Call
-
Synchronously send the request and return its response.
- execute() - Method in interface com.pcloud.networking.api.MultiCall
-
Executes synchronously and blocks until completion or until an exception is thrown
- execute() - Method in interface com.pcloud.networking.client.Call
-
Executes the call.
- execute() - Method in interface com.pcloud.networking.client.MultiCall
-
Executes the calls on the same thread and blocks it until the operation is complete or an exception is thrown.