|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openptk.api.Element org.openptk.connection.Connection org.openptk.connection.jersey.JerseyConnection
public class JerseyConnection
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.openptk.connection.ConnectionIF |
---|
ConnectionIF.Session |
Field Summary |
---|
Fields inherited from class org.openptk.connection.Connection |
---|
_converter, _uriClients, _uriContexts, _uriLogin, _uriLogout, _uriSessionInfo, _uriSubjects |
Fields inherited from interface org.openptk.connection.ConnectionIF |
---|
PARAM_CLIENTCRED, PARAM_CLIENTID, PARAM_PASSWORD, PARAM_TOKEN, PARAM_USER, PROP_COOKIE_NAME, PROP_URI_CLIENTS, PROP_URI_CONTEXTS, PROP_URI_LOGIN, PROP_URI_LOGOUT, RESOURCE_SESSION |
Constructor Summary | |
---|---|
JerseyConnection(java.util.Properties props)
Create a new ConnectionIF instance using the Jersey Client API. |
Method Summary | |
---|---|
void |
close()
Close the open connection. |
protected Output |
doCreate(Input input)
Execute CREATE operation. |
protected Output |
doDelete(Input input)
Execute DELETE operation. |
protected Output |
doPwdChange(Input input)
Execute PWDCHANGE operation. |
protected Output |
doPwdForgot(Input input)
Execute PWDFORGOT operation. |
protected Output |
doPwdReset(Input input)
Execute PWDRESET operation. |
protected Output |
doRead(Input input)
Execute READ operation. |
protected Output |
doSearch(Input input)
Execute SEARCH operation. |
protected Output |
doUpdate(Input input)
Execute UPDATE operation. |
java.lang.String |
getSessionData(ConnectionIF.Session session)
Get the String representing a Session data item. |
Methods inherited from class org.openptk.connection.Connection |
---|
debug, decode, encode, encrypt, execute, getContextId, getContextIds, getSessionId, getStructureFromAttribute, getStructureFromInput, handleError, hasSessionChanged, isDebug, logError, logInfo, logWarning, processClientStructure, setContextId, setDebug, setSessionChanged, setSessionId, updateOutputFromReadStructure, updateOutputFromSearchStructure, urlDecode, urlEncode |
Methods inherited from class org.openptk.api.Element |
---|
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, copy, getAttribute, getAttributeNames, getAttributes, getAttributesSize, getDescription, getKey, getProperties, getPropertiesSize, getProperty, getState, getStateAsString, getStatus, getUniqueId, getUniqueIdType, isError, removeAttribute, removeProperty, setAttributes, setDescription, setError, setKey, setProperties, setProperty, setState, setStatus, setUniqueId, setUniqueId, setUniqueId, setUniqueId, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openptk.api.ElementIF |
---|
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttributes, copy, getAttribute, getAttributeNames, getAttributes, getAttributesSize, getDescription, getKey, getProperties, getPropertiesSize, getProperty, getState, getStateAsString, getStatus, getUniqueId, getUniqueIdType, isError, removeAttribute, removeProperty, setAttributes, setDescription, setError, setKey, setProperties, setProperty, setState, setStatus, setUniqueId, setUniqueId, setUniqueId, setUniqueId |
Constructor Detail |
---|
public JerseyConnection(java.util.Properties props) throws ConnectionException, AuthenticationException
java.lang.Exception
ConnectionException
AuthenticationException
Method Detail |
---|
public final void close() throws ConnectionException
close
in interface ConnectionIF
close
in class Connection
java.lang.Exception
ConnectionException
protected Output doCreate(Input input) throws ConnectionException, StructureException
doCreate
in class Connection
input
-
java.lang.Exception
ConnectionException
StructureException
protected Output doDelete(Input input) throws ConnectionException, StructureException
doDelete
in class Connection
input
-
java.lang.Exception
ConnectionException
StructureException
protected Output doPwdChange(Input input) throws ConnectionException, StructureException
doPwdChange
in class Connection
input
-
java.lang.Exception
ConnectionException
StructureException
protected Output doPwdForgot(Input input) throws ConnectionException, StructureException
doPwdForgot
in class Connection
input
-
java.lang.Exception
ConnectionException
StructureException
protected Output doPwdReset(Input input) throws ConnectionException, StructureException
doPwdReset
in class Connection
input
-
java.lang.Exception
ConnectionException
StructureException
protected Output doRead(Input input) throws ConnectionException, StructureException
doRead
in class Connection
input
-
java.lang.Exception
ConnectionException
StructureException
protected Output doSearch(Input input) throws ConnectionException, StructureException
doSearch
in class Connection
input
-
java.lang.Exception
ConnectionException
StructureException
protected Output doUpdate(Input input) throws ConnectionException, StructureException
doUpdate
in class Connection
input
-
java.lang.Exception
ConnectionException
StructureException
public final java.lang.String getSessionData(ConnectionIF.Session session) throws ConnectionException
getSessionData
in interface ConnectionIF
getSessionData
in class Connection
ConnectionException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |