public class ResultSetClientFactory extends Object implements ResultSetClient
| Constructor and Description |
|---|
ResultSetClientFactory() |
ResultSetClientFactory(int pageSize,
long timeout) |
ResultSetClientFactory(int pageSize,
long timeout,
long connectTimeout) |
| Modifier and Type | Method and Description |
|---|---|
IterableResultSetClient |
getClient(String stringEpr) |
IterableResultSetClient |
getClient(String stringEpr,
int pageSize) |
IterableResultSetClient |
getClient(W3CEndpointReference epr) |
IterableResultSetClient |
getClient(W3CEndpointReference epr,
int pageSize) |
long |
getConnectTimeout() |
int |
getPageSize() |
long |
getTimeout() |
void |
setConnectTimeout(long connectTimeout) |
void |
setEprUtils(EPRUtils eprUtils) |
void |
setPageSize(int pageSize) |
void |
setServiceResolver(eu.dnetlib.enabling.tools.ServiceResolver serviceResolver) |
void |
setTimeout(long timeout) |
public ResultSetClientFactory()
public ResultSetClientFactory(int pageSize,
long timeout)
throws IllegalArgumentException
pageSize - timeout - IllegalArgumentExceptionpublic ResultSetClientFactory(int pageSize,
long timeout,
long connectTimeout)
throws IllegalArgumentException
pageSize - timeout - time to wait for server response before throwing a timeout exceptionconnectTimeout - time to wait for server to accept the connection before throwing a connection timeout exceptionIllegalArgumentExceptionpublic IterableResultSetClient getClient(W3CEndpointReference epr, int pageSize)
getClient in interface ResultSetClientepr - pageSize - public IterableResultSetClient getClient(W3CEndpointReference epr)
getClient in interface ResultSetClientepr - public IterableResultSetClient getClient(String stringEpr, int pageSize)
getClient in interface ResultSetClientstringEpr - pageSize - public IterableResultSetClient getClient(String stringEpr)
getClient in interface ResultSetClientstringEpr - public void setServiceResolver(eu.dnetlib.enabling.tools.ServiceResolver serviceResolver)
public void setEprUtils(EPRUtils eprUtils)
public int getPageSize()
public void setPageSize(int pageSize)
public long getTimeout()
public void setTimeout(long timeout)
public long getConnectTimeout()
public void setConnectTimeout(long connectTimeout)
Copyright © 2019. All rights reserved.