preparing item service for use in document service

This commit is contained in:
2025-07-13 10:47:08 +02:00
parent 1a7002b0da
commit ea888c2be4
11 changed files with 117 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ public abstract class BaseHandler extends PathHandler {
return sendEmptyResponse(HTTP_UNAUTHORIZED,ex);
}
public boolean notImplemented(HttpExchange ex,String message,Object clazz) throws IOException{
return sendContent(ex,HTTP_NOT_IMPLEMENTED,format(message,clazz.getClass().getSimpleName()));
public boolean notImplemented(HttpExchange ex,String method,Object clazz) throws IOException{
return sendContent(ex,HTTP_NOT_IMPLEMENTED,format("{0}.{1} not implemented",clazz.getClass().getSimpleName(),method));
}
}