|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.technical.http.HTTPReceiver
public class HTTPReceiver
The class HTTPReceiver handles requests coming via a
HTTP-connection.
System_xxx_Receiver entry in the
configuration, it acts as a normal HTTPReceiver, receiving
and returning strings, as a HTTPStreamReceiver, accepting an
InputStream as the request or as a
HTTPParameterReceiver, accepting a query string and returning
the result as a string.
The last part of the URL is used as the name of the system.
| Constructor Summary | |
|---|---|
HTTPReceiver()
|
|
| Method Summary | |
|---|---|
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handles the HTTP-request. |
java.lang.String |
getType()
A Receiver can receive data either as a
String or as an Object from a neighboring
system. |
static void |
initializeAmountErrorsCompletely()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTTPReceiver()
| Method Detail |
|---|
public void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
HttpServletResponse.SC_INTERNAL_SERVER_ERROR.
public java.lang.String getType()
ReceiverReceiver can receive data either as a
String or as an Object from a neighboring
system.Strings, getType
returns Constants.TYPE_TEXTObjects, getType
returns Constants.TYPE_OBJECT
getType in interface Receiverpublic static void initializeAmountErrorsCompletely()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||