preparing item service for use in document service
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user