private HttpResponse createErrorResponse(com.yahoo.jdisc.http.HttpRequest.Method method) {
        return HttpErrorResponse.methodNotAllowed("Method '" + method + "' is not supported");
    }
Creates error response when method is not handled

@return an error response with response code 405
configserver/src/main/java/com/yahoo/vespa/config/server/http/HttpHandler.java