|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceHandler
Service Handler reads ServiceRequest from client, processes it, and returns
a ServiceResponse.
ServiceHandlerComposition,
AbstractServiceHandler| Method Summary | |
|---|---|
void |
getSupportedServices(Collection<Class<? extends IEncodeable>> result)
Get supported services. |
void |
serve(EndpointServiceRequest<?,?> request)
Serve a service request. |
boolean |
supportsService(Class<? extends IEncodeable> requestMessageClass)
Queries whether this handler supports a given request class. |
| Method Detail |
|---|
void serve(EndpointServiceRequest<?,?> request)
throws ServiceResultException
The implementation is allowed to may submit the response later and from another thread.
request - the service request
ServiceResultException - if errorboolean supportsService(Class<? extends IEncodeable> requestMessageClass)
requestMessageClass - class
void getSupportedServices(Collection<Class<? extends IEncodeable>> result)
result - to be filled with request classes of supported services.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||