|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.di.connector.Connector
com.ibm.di.connector.WSReceiverServerConnector.WSReceiverServerConnector
public class WSReceiverServerConnector
| Fields inherited from class com.ibm.di.connector.Connector |
|---|
ALL_MODES, myLog, PROPERTY_MESSAGE, PROPERTY_READER, PROPERTY_WRITER |
| Constructor Summary | |
|---|---|
WSReceiverServerConnector()
|
|
| Method Summary | |
|---|---|
protected String |
getAuthorization(StringBuffer headers)
Gets the username and password return by client. |
protected StringBuffer |
getHeaders()
Gets the header information send by client. |
ConnectorInterface |
getNextClient()
Server mode - return a clone of self that handles the next client instance when running in server mode. |
Entry |
getNextEntry()
Returns the next Entry from the connector. |
WSReceiverServerConnector |
getServerConnector()
|
String |
getVersion()
|
protected void |
httpAuthenticationRequest(String realm)
Send request to client to authenticate. |
void |
initialize(Object obj)
Initialize the connector. |
boolean |
isAccepting()
|
boolean |
isTerminating()
|
String |
readFile(String aFileName)
|
protected String |
readLine()
Read line from client. |
void |
replyEntry(Entry conn)
Send a reply to the connector. |
void |
setServerConnector(WSReceiverServerConnector aServerConnector)
|
void |
terminate()
Terminate the connector. |
void |
terminateServer()
Default implementation - does nothing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ibm.di.connector.ConnectorInterface |
|---|
deleteEntry, findEntry, getConfiguration, getContext, getFindEntryCount, getFirstFindEntry, getMaxDuplicateEntries, getName, getNextFindEntry, getParam, getPushbackEntry, getRawConnectorConfiguration, isDeltaSupported, isExceptionFatal, isIOException, modEntry, modEntry, pushback, putEntry, queryOperations, queryReply, querySchema, reconnect, registerScriptBeans, selectEntries, setConfiguration, setContext, setCurrent, setLog, setMaxDuplicateEntries, setName, setParam, setRSInterface |
| Field Detail |
|---|
protected static final String PARAM_TCP_PORT
protected static final String PARAM_TCP_BACKLOG
protected static final String PARAM_SYSTEM_TCP_BACKLOG
protected static final String PARAM_RETURN_XML_TYPE
protected static final String PARAM_INPUT_TYPE
protected static final String PARAM_USE_SSL
protected static final String PARAM_REQUIRE_CLIENT_AUTH
protected static final String PARAM_TAG_OPENTRY
protected int mPort
protected String mInputXMLType
protected String mReturnXMLType
protected boolean mUseSSL
protected boolean mRequireClientAuth
protected boolean mTagOpEntry
protected Socket mSocket
protected ServerSocket mServerSocket
protected WSReceiverServerConnector mServerConnector
protected String CHARSET
public static final String ATTR_SOAP_RESPONSE
public static final String ATTR_HOST
public static final String ATTR_REQUESTED_RESOURCE
public static final String ATTR_SOAP_REQUEST
public static final String ATTR_SOAP_ACTION
public static final String ATTR_WSDL_REQUESTED
public static final String ATTR_RESPONSE_CONTENT_TYPE
public static final String XML_STRING
public static final String XML_DOM
public static final String WSDL_ID
public static final String CONTENT_TYPE_XML
public static final String CONTENT_TYPE_HTML
protected static final String TRUE
protected static final String FALSE
protected boolean mNoNextEntry
protected SAXParserFactory mSAXParserFactory
| Constructor Detail |
|---|
public WSReceiverServerConnector()
| Method Detail |
|---|
public void initialize(Object obj)
throws Exception
Connector
initialize in interface ConnectorInterfaceinitialize in class Connectorobj - User provided parameter
Exception
public ConnectorInterface getNextClient()
throws Exception
Connector
getNextClient in interface ConnectorInterfacegetNextClient in class ConnectorExceptionpublic WSReceiverServerConnector getServerConnector()
public void setServerConnector(WSReceiverServerConnector aServerConnector)
public void terminateServer()
throws Exception
Connector
terminateServer in interface ConnectorInterfaceterminateServer in class ConnectorException
public void terminate()
throws Exception
Connector
terminate in interface ConnectorInterfaceterminate in class ConnectorException
public Entry getNextEntry()
throws Exception
Connector
getNextEntry in interface ConnectorInterfacegetNextEntry in class ConnectorExceptionConnector.selectEntries()
public void replyEntry(Entry conn)
throws Exception
Connector
replyEntry in interface ConnectorInterfacereplyEntry in class ConnectorExceptionpublic boolean isAccepting()
public boolean isTerminating()
public String getVersion()
getVersion in interface VersionInfoInterface
public String readFile(String aFileName)
throws IOException
IOException
protected String getAuthorization(StringBuffer headers)
throws IOException
headers - HTTP headers sent by client.
IOException
protected StringBuffer getHeaders()
throws IOException
IOException
protected String readLine()
throws IOException
IOException
protected void httpAuthenticationRequest(String realm)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||