com.sap.conn.jco.server
Interface JCoServerRequestHandler
public interface JCoServerRequestHandler
Interface for the request handler.
Request handler that needs to be implemented by the server application.
It will be invoked when dispatching a remote call that fits to the implementation
as decided by the JCoFunctionHandlerFactory
.
handleRequest
void handleRequest(JCoServerContext serverCtx,
JCoRequest request,
JCoResponse response)
throws AbapException,
AbapClassException
- The method invoked by the JCo server runtime to dispatch the remote function call.
If the application will throw a RuntimeException, it will handled as SYSTEM_FAILURE.
An
AbapException
or AbapClassException
should be used for
signalling exceptional cases within the function module's application logic.
- Parameters:
serverCtx
- context description in which the request was invokedrequest
- request instance containing call contentresponse
- empty response instance, to be filled by the application
- Throws:
AbapException
- may be thrown by the implementation to inform the caller
system about an exceptional situation within the application logic.
AbapClassException
- may be thrown by the implementation to inform the caller
system about an exceptional situation within the application logic. This kind
of exception only makes sense if the calling system supports it, which is
at earliest possible for an ABAP system of release 7.20
Copyright © 2008-2014 SAP AG. All Rights Reserved.