public abstract class AbstractServerHandler extends Object implements ServerHandler
Modifier and Type | Field and Description |
---|---|
protected SyncBackend |
backend |
protected static Logger |
logger |
Modifier | Constructor and Description |
---|---|
protected |
AbstractServerHandler(SyncBackend backend,
String profilePrefix) |
Modifier and Type | Method and Description |
---|---|
protected String |
getProfileName(SyncRequest request) |
protected String |
getProfilePrefix() |
protected abstract Document |
handle(SyncRequest request,
Document docRequest) |
void |
handle(SyncRequest request,
SyncResponse response) |
protected SyncBackend backend
protected static final Logger logger
protected AbstractServerHandler(SyncBackend backend, String profilePrefix)
protected String getProfilePrefix()
protected String getProfileName(SyncRequest request)
public void handle(SyncRequest request, SyncResponse response) throws IOException
handle
in interface ServerHandler
IOException
protected abstract Document handle(SyncRequest request, Document docRequest)
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.