|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectloanfund.RegisterService
public class RegisterService
The RegisterService is the controller class in the web service provider. It starts the request parsing and response creation. If it detects a ServiceRequestException it creats a RegisterFault message instead.
Field Summary | |
---|---|
static boolean |
DEBUG
|
static java.lang.String |
LANGUAGECODE_GB
|
static java.lang.String |
LANGUAGECODE_NB
|
Constructor Summary | |
---|---|
RegisterService()
|
Method Summary | |
---|---|
private static java.lang.String |
createFault(ServiceRequest sreq,
ServiceRequestException e)
This method create a new Fault message based on the ServiceRequestException. |
static void |
debug(ServiceRequest req,
RegisterFault fault)
This method is used when in debug mode to write the last incomming request/response pair to a file. |
static void |
debug(ServiceRequest req,
ServiceResponse res)
This method is used when in debug mode to write the last incomming request/response pair to a file. |
static java.lang.String |
getService(javax.servlet.http.HttpServletRequest req)
This method is the static method called from the JSP page to make a request for the web service provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LANGUAGECODE_NB
public static final java.lang.String LANGUAGECODE_GB
public static boolean DEBUG
Constructor Detail |
---|
public RegisterService()
Method Detail |
---|
public static java.lang.String getService(javax.servlet.http.HttpServletRequest req)
req
- HttpServletRequest The web service provider request
private static java.lang.String createFault(ServiceRequest sreq, ServiceRequestException e)
public static void debug(ServiceRequest req, ServiceResponse res)
req
- ServiceRequest The incomming requestres
- ServiceResponse The response that was createdpublic static void debug(ServiceRequest req, RegisterFault fault)
req
- ServiceRequest The incomming requestres
- RegisterFault The fault message that was created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |