- Call<T> - Interface in com.pcloud.networking.api
-
An abstraction over a RPC call to pCloud's API servers.
- Call - Interface in com.pcloud.networking.client
-
A contract for a network call to a server
- CallAdapter<T,R> - Interface in com.pcloud.networking.api
-
An adapter that allows modifying the return type.
- CallAdapter.Factory - Class in com.pcloud.networking.api
-
- Callback<T> - Interface in com.pcloud.networking.api
-
A Callback listener used when making asynchronous calls to the pCloud API.
- Callback - Interface in com.pcloud.networking.client
-
A contract for a callback
- callExecutor(ExecutorService) - Method in class com.pcloud.networking.client.PCloudAPIClient.Builder
-
Sets a ExecutorService for the client
- callExecutor() - Method in class com.pcloud.networking.client.PCloudAPIClient
-
Returns the ExecutorService for this client
- cancel() - Method in interface com.pcloud.networking.api.Call
-
Cancel this call.
- cancel() - Method in interface com.pcloud.networking.api.MultiCall
-
- cancel() - Method in interface com.pcloud.networking.client.Call
-
- cancel() - Method in interface com.pcloud.networking.client.MultiCall
-
- clone() - Method in interface com.pcloud.networking.api.Call
-
- clone() - Method in interface com.pcloud.networking.api.MultiCall
-
Creates a new instance of a
MultiCall object to be reused for the same calls
- clone() - Method in interface com.pcloud.networking.client.Call
-
Clones the current
Call into a new instance with the same parameters and returns it.
- clone() - Method in interface com.pcloud.networking.client.MultiCall
-
Clones this
MultiCall object into a new instance with all the same parameters in order for it to be reused.
- close() - Method in class com.pcloud.networking.api.DataApiResponse
-
- close() - Method in interface com.pcloud.networking.api.Interactor
-
- close() - Method in interface com.pcloud.networking.client.ApiChannel
-
- close() - Method in interface com.pcloud.networking.client.Interactor
-
- close() - Method in class com.pcloud.networking.client.MultiResponse
-
- close() - Method in class com.pcloud.networking.client.Response
-
- close() - Method in class com.pcloud.networking.client.ResponseData
-
- close() - Method in class com.pcloud.networking.protocol.BytesReader
-
Close the BufferedSource
- close() - Method in class
com.pcloud.networking.protocol.BytesWriter
-
Close the BufferedSink
- close()
- Method in class com.pcloud.networking.protocol.ForwardingProtocolReader
-
- close() -
Method in class com.pcloud.networking.protocol.ForwardingProtocolRequestWriter
-
- close() -
Method in class com.pcloud.networking.protocol.ForwardingProtocolResponseReader
-
- close()
- Method in class com.pcloud.networking.protocol.ForwardingProtocolWriter
-
- close()
- Method in interface com.pcloud.networking.protocol.ProtocolReader
-
Close the data source
- close()
- Method in interface com.pcloud.networking.protocol.ProtocolWriter
-
- closeQuietly(Closeable[])
- Static method in class com.pcloud.utils.IOUtils
-
Closes all Closeable objects from an array
- closeQuietly(Iterable<? extends Closeable>)
- Static method in class com.pcloud.utils.IOUtils
-
Closes all Closeable objects from a Iterable
- closeQuietly(Closeable)
- Static method in class com.pcloud.utils.IOUtils
-
Closes a Closeable object
- closeQuietly(Socket)
- Static method in class com.pcloud.utils.IOUtils
-
Closes a Socket object
- com.pcloud.networking.api - package
com.pcloud.networking.api
-
- com.pcloud.networking.api.adapters -
package com.pcloud.networking.api.adapters
-
- com.pcloud.networking.client - package
com.pcloud.networking.client
-
-
com.pcloud.networking.client.internal
- package com.pcloud.networking.client.internal
-
- com.pcloud.networking.client.internal.tls
- package com.pcloud.networking.client.internal.tls
-
- com.pcloud.networking.protocol - package
com.pcloud.networking.protocol
-
- com.pcloud.networking.serialization -
package com.pcloud.networking.serialization
-
- com.pcloud.networking.serialization.adapters
- package com.pcloud.networking.serialization.adapters
-
- com.pcloud.utils - package com.pcloud.utils
-
- compose(Class<T>)
- Method in class com.pcloud.networking.api.ApiComposer
-
Composes an instance of the java interface which houses the network call methods
- connectionCount()
- Method in class com.pcloud.networking.client.ConnectionPool
-
Returns the number of connections in the pool
- ConnectionPool - Class in
com.pcloud.networking.client
-
An implementation to provide a pool structure for connections.
- ConnectionPool()
- Constructor for class com.pcloud.networking.client.ConnectionPool
-
- ConnectionPool(int, long, TimeUnit)
- Constructor for class com.pcloud.networking.client.ConnectionPool
-
- connectionPool(ConnectionPool) - Method in class com.pcloud.networking.client.PCloudAPIClient.Builder
-
- connectionPool() - Method in class com.pcloud.networking.client.PCloudAPIClient
-
- connectTimeout() - Method in class com.pcloud.networking.client.PCloudAPIClient
-
Returns the maximum amount of time a connection should take to establish itself in milliseconds as an int
- contentLength() - Method in class com.pcloud.networking.client.ResponseBody
-
- contentLength() - Method in class com.pcloud.networking.client.ResponseData
-
Returns the length of the content in the source
- contentLength() - Method in class com.pcloud.networking.protocol.DataSource
-
Provide the data source length.
- create() - Method in class com.pcloud.networking.api.ApiComposer.Builder
-
- create() - Static method in class com.pcloud.networking.api.ApiComposer
-
- create() - Method in class com.pcloud.networking.client.PCloudAPIClient.Builder
-
- create() - Static method in class com.pcloud.networking.client.Request
-
- create() - Static method in class com.pcloud.networking.client.Response
-
- create(File)
- Static method in class com.pcloud.networking.protocol.DataSink
-
Create a
DataSink
instance that writes data to a file.
- create(ByteString)
- Static method in class com.pcloud.networking.protocol.DataSource
-
Create a
DataSource
instance that reads from a
ByteString
.
- create(byte[])
- Static method in class com.pcloud.networking.protocol.DataSource
-
Create a
DataSource
instance that reads from a byte array.
- create(File)
- Static method in class com.pcloud.networking.protocol.DataSource
-
Create a
DataSource
instance that reads from a byte array.
- create(Type, Transformer)
- Method in class com.pcloud.networking.serialization.adapters.TimestampDateTypeAdapterFactory
-
- create() - Static method
in class com.pcloud.networking.serialization.Transformer
-
- create(Type, Transformer)
- Method in interface com.pcloud.networking.serialization.TypeAdapterFactory
-
- currentScope()
- Method in class com.pcloud.networking.protocol.BytesReader
-
- currentScope()
- Method in class com.pcloud.networking.protocol.ForwardingProtocolReader
-
- currentScope()
- Method in class com.pcloud.networking.protocol.ForwardingProtocolResponseReader
-
- currentScope()
- Method in interface com.pcloud.networking.protocol.ProtocolReader
-
Get the current scope of the reader