com.indexdata.masterkey.pazpar2.client
public class Pazpar2ClientTorus extends AbstractPazpar2Client
AbstractPazpar2Client.HttpResponse
cfg, pazpar2Session, serviceDefinition, XML_CT
Constructor and Description |
---|
Pazpar2ClientTorus(Pazpar2ClientConfiguration cfg)
Instantiates MODE 2 client
|
Pazpar2ClientTorus(Pazpar2ClientConfiguration proxyCfg,
String realm)
Instantiates MODE 3 client
|
Modifier and Type | Method and Description |
---|---|
Pazpar2Client |
cloneMe()
Creates a Pazpar2 client clone with the same Pazpar2 configuration and target settings
as the original.
|
Pazpar2Settings |
getSettings() |
void |
init()
Initializes a Pazpar2 sessions while clearing any statically defined
databases from Pazpar2's configuration and loading and from the target
repository and setting them up on the session.
|
protected boolean |
requiresForcedInit()
Applies torus query for target selection and/or record filter to selected targets.
|
executeCommand, executeSearch, getConfiguration, getHit, getResults, getSearchCommand, getSearchCount, getSessionId, getTimeStamp, pipeStream, post, recordRequest, recordRequest, request, searchRequest, sendInit, sendInit, sendRequest, sessionIsAlive, setSearchCommand, setTimeStamp, showRequest
public Pazpar2ClientTorus(Pazpar2ClientConfiguration cfg) throws ProxyErrorException
cfg
- ProxyErrorException
public Pazpar2ClientTorus(Pazpar2ClientConfiguration proxyCfg, String realm) throws ProxyErrorException
proxyCfg
- realm
- ProxyErrorException
public Pazpar2Settings getSettings()
protected boolean requiresForcedInit()
requiresForcedInit
in class AbstractPazpar2Client
public void init() throws Pazpar2IOException, Pazpar2ErrorException
Pazpar2ErrorException
- on pazpar2 application-level errorsPazpar2IOException
public Pazpar2Client cloneMe() throws ProxyErrorException, Pazpar2ErrorException, Pazpar2IOException
Pazpar2Client
ProxyErrorException
Pazpar2ErrorException
Pazpar2IOException
Copyright © 2014. All rights reserved.